From 346711498c8382802b8664dc82d20eba693cb639 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 15 Apr 2024 06:57:49 -0300 Subject: [PATCH] Bug 36593: Add missing koha_object(s)_class methods to LibraryHour.pm (bug 9796) Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/LibraryHour.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/LibraryHour.pm b/Koha/Schema/Result/LibraryHour.pm index 9c11cd6c554..a01cbe94e22 100644 --- a/Koha/Schema/Result/LibraryHour.pm +++ b/Koha/Schema/Result/LibraryHour.pm @@ -100,6 +100,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-12 08:58:44 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1W6KcIBKWaCCu/UEXF+zug +sub koha_objects_class { + 'Koha::Library::Hours'; +} +sub koha_object_class { + 'Koha::Library::Hour'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.44.0