From 92f76df7f6e3c00e428d98df3c567d374cd704b8 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 27 Feb 2026 12:56:49 +0000 Subject: [PATCH] Bug 35104: Add koha_object_class to BiblioMetadataError schema result --- Koha/Schema/Result/BiblioMetadataError.pm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/BiblioMetadataError.pm b/Koha/Schema/Result/BiblioMetadataError.pm index 0acf8c5f2ab..44a9f377138 100644 --- a/Koha/Schema/Result/BiblioMetadataError.pm +++ b/Koha/Schema/Result/BiblioMetadataError.pm @@ -113,5 +113,20 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9EDJRN99cOP8lmceBh8GpQ -# You can replace this text with custom code or comments, and it will be preserved on regeneration +=head2 koha_object_class + +=cut + +sub koha_object_class { + 'Koha::Biblio::Metadata::Error'; +} + +=head2 koha_objects_class + +=cut + +sub koha_objects_class { + 'Koha::Biblio::Metadata::Errors'; +} + 1; -- 2.53.0