From 056b56a3c3afd70166456d5a9e98371ddaa37e7b 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 Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- 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 9c11cd6c55..a01cbe94e2 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.39.5