From d0850109968877fd3fde95037f071e4cf8c6e8da Mon Sep 17 00:00:00 2001 From: John Doe 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 --- 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.30.2