From 3adde7ed3bf348317200128cadb207214337ab31 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 17 Feb 2023 16:58:12 +0000 Subject: [PATCH] Bug 31028: (QA follow-up) Add koha_object(s)_class methods to TicketUpdate.pm Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/TicketUpdate.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/TicketUpdate.pm b/Koha/Schema/Result/TicketUpdate.pm index c778ee32c0..bc8a6caf42 100644 --- a/Koha/Schema/Result/TicketUpdate.pm +++ b/Koha/Schema/Result/TicketUpdate.pm @@ -149,5 +149,11 @@ __PACKAGE__->belongs_to( __PACKAGE__->add_columns( '+public' => { is_boolean => 1 }, ); -# You can replace this text with custom code or comments, and it will be preserved on regeneration +sub koha_object_class { + 'Koha::Ticket::Update'; +} +sub koha_objects_class { + 'Koha::Ticket::Updates'; +} + 1; -- 2.39.5