Browse Source

Bug 19618: (RM follow-up) Add missing use statements

The compile test was failing, this patch corrects for some missing use
statements and updates the dbic classes to include the type mappings

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
remotes/origin/19.11.x
Martin Renvoize 3 years ago
parent
commit
2fc7027fe4
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 2
      Koha/Club/Hold/PatronHold.pm
  2. 4
      Koha/Club/Hold/PatronHolds.pm
  3. 4
      Koha/Club/Holds.pm
  4. 1620
      Koha/Schema/Result/Borrower.pm.orig
  5. 8
      Koha/Schema/Result/ClubHold.pm
  6. 7
      Koha/Schema/Result/ClubHoldsToPatronHold.pm

2
Koha/Club/Hold/PatronHold.pm

@ -53,4 +53,4 @@ Agustin Moyano <agustinmoyano@theke.io>
=cut
1;
1;

4
Koha/Club/Hold/PatronHolds.pm

@ -25,6 +25,8 @@ use Koha::Database;
use Koha::Club::Field;
use Koha::Club::Hold::PatronHold;
use base qw(Koha::Objects);
=head1 NAME
@ -61,4 +63,4 @@ Agustin Moyano <agustinmoyano@theke.io>
=cut
1;
1;

4
Koha/Club/Holds.pm

@ -25,6 +25,8 @@ use Koha::Database;
use Koha::Club::Field;
use Koha::Club::Hold;
use base qw(Koha::Objects);
=head1 NAME
@ -61,4 +63,4 @@ Agustin Moyano <agustinmoyano@theke.io>
=cut
1;
1;

1620
Koha/Schema/Result/Borrower.pm.orig

File diff suppressed because it is too large

8
Koha/Schema/Result/ClubHold.pm

@ -157,6 +157,10 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FYGXVx1P2R+dGbeP1xshPA
# You can replace this text with custom code or comments, and it will be preserved on regeneration
sub koha_objects_class {
'Koha::Club::Holds';
}
sub koha_object_class {
'Koha::Club::Hold';
}
1;

7
Koha/Schema/Result/ClubHoldsToPatronHold.pm

@ -162,6 +162,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/T626DfqUi7SnXOyieUzYw
sub koha_objects_class {
'Koha::Club::Hold::PatronHolds';
}
sub koha_object_class {
'Koha::Club::Hold::PatronHold';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

Loading…
Cancel
Save