From defb2a66b103061cd15cdc72e3c9ad96c57fb48d Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 14 Jan 2020 10:11:00 -0300 Subject: [PATCH] Bug 24418: Add koha_object(s)_class methods to Suggestion Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall --- Koha/Schema/Result/Suggestion.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/Suggestion.pm b/Koha/Schema/Result/Suggestion.pm index 2086d98811..c65b3da7fe 100644 --- a/Koha/Schema/Result/Suggestion.pm +++ b/Koha/Schema/Result/Suggestion.pm @@ -443,6 +443,12 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-11 12:56:41 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UsG/gxLa0HMMbcpbscV29Q +sub koha_objects_class { + 'Koha::Suggestions'; +} + +sub koha_object_class { + 'Koha::Suggestion'; +} -# You can replace this text with custom content, and it will be preserved on regeneration 1; -- 2.21.1 (Apple Git-122.3)