@@ -, +, @@ --- Koha/Schema/Result/ItemGroup.pm | 7 ++++++- Koha/Schema/Result/ItemGroupItem.pm | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) --- a/Koha/Schema/Result/ItemGroup.pm +++ a/Koha/Schema/Result/ItemGroup.pm @@ -151,6 +151,11 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-02 16:18:20 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YO7VdfzHDqBjGHt7vQX7gw +sub koha_objects_class { + 'Koha::Biblio::ItemGroups'; +} +sub koha_object_class { + 'Koha::Biblio::ItemGroup'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; --- a/Koha/Schema/Result/ItemGroupItem.pm +++ a/Koha/Schema/Result/ItemGroupItem.pm @@ -132,6 +132,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-02 16:18:20 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FLtrDLTHqXdzqyOmVvaXJQ +sub koha_object_class { + 'Koha::Biblio::ItemGroup::Item'; +} +sub koha_objects_class { + 'Koha::Biblio::ItemGroup::Items'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; --