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 5 years ago
parent
commit
2fc7027fe4
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 2
      Koha/Club/Hold/PatronHolds.pm
  2. 2
      Koha/Club/Holds.pm
  3. 1620
      Koha/Schema/Result/Borrower.pm.orig
  4. 8
      Koha/Schema/Result/ClubHold.pm
  5. 7
      Koha/Schema/Result/ClubHoldsToPatronHold.pm

2
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

2
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

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