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>
This commit is contained in:
Martin Renvoize 2019-10-01 11:45:13 +01:00
parent 7a68532048
commit 2fc7027fe4
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
6 changed files with 1639 additions and 6 deletions

View File

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

View File

@ -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;

View File

@ -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;

File diff suppressed because it is too large Load Diff

View File

@ -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;

View File

@ -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;