From c74036dfd58b7666326a637f4fe2c2505906844e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 24 Apr 2024 10:00:28 +0100 Subject: [PATCH] Bug 33960: (RM follow-up) Add class decorations to schema This patch adds the missing koha_objects_class and koha_object_class definitions to Koha::Schema::Result::DeletedbiblioMetadata. Signed-off-by: Martin Renvoize --- Koha/Schema/Result/DeletedbiblioMetadata.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Koha/Schema/Result/DeletedbiblioMetadata.pm b/Koha/Schema/Result/DeletedbiblioMetadata.pm index 17406b9ca4..29971cdf08 100644 --- a/Koha/Schema/Result/DeletedbiblioMetadata.pm +++ b/Koha/Schema/Result/DeletedbiblioMetadata.pm @@ -135,6 +135,12 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JCOh+FSSTgPlC8lMJOdOOA +sub koha_objects_class { + 'Koha::Old::Biblio::Metadatas'; +} +sub koha_object_class { + 'Koha::Old::Biblio::Metadata'; +} # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.5