diff --git a/Koha/Schema/Result/CourseInstructor.pm b/Koha/Schema/Result/CourseInstructor.pm index 1049475390..15ec47ee52 100644 --- a/Koha/Schema/Result/CourseInstructor.pm +++ b/Koha/Schema/Result/CourseInstructor.pm @@ -94,6 +94,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vP3bJ0YA6LEepYOaNg++A +sub koha_objects_class { + 'Koha::Course::Instructors'; +} +sub koha_object_class { + 'Koha::Course::Instructor'; +} -# You can replace this text with custom content, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index 3b951fc3e1..4f78d24cdb 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -258,5 +258,11 @@ __PACKAGE__->add_columns( '+location_enabled' => { is_boolean => 1 }, ); -# You can replace this text with custom content, and it will be preserved on regeneration +sub koha_objects_class { + 'Koha::Course::Items'; +} +sub koha_object_class { + 'Koha::Course::Item'; +} + 1; diff --git a/Koha/Schema/Result/CourseReserve.pm b/Koha/Schema/Result/CourseReserve.pm index 080d699cba..8bb41cbb23 100644 --- a/Koha/Schema/Result/CourseReserve.pm +++ b/Koha/Schema/Result/CourseReserve.pm @@ -144,6 +144,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8SDdUrbxKuAwp6rgn85RmA +sub koha_objects_class { + 'Koha::Course::Reserves'; +} +sub koha_object_class { + 'Koha::Course::Reserve'; +} -# You can replace this text with custom content, and it will be preserved on regeneration 1;