From 8b4ea0beaa733f349be32b95267c4ec907be1188 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Nov 2022 07:36:19 +0100 Subject: [PATCH] Bug 32161: (bug 32030 follow-up) Fix koha_object[s]_class for ErmEholdingsPackagesAgreement Test plan: run t/db_dependent/TestBuilder.t and confirm that the error related to this module is gone. Another one may still fail however Signed-off-by: Pedro Amorim Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/ErmEholdingsPackagesAgreement.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ErmEholdingsPackagesAgreement.pm b/Koha/Schema/Result/ErmEholdingsPackagesAgreement.pm index fd10e73afa..8a5e467d00 100644 --- a/Koha/Schema/Result/ErmEholdingsPackagesAgreement.pm +++ b/Koha/Schema/Result/ErmEholdingsPackagesAgreement.pm @@ -99,10 +99,10 @@ __PACKAGE__->belongs_to( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3nCckFzWVD8oZCG6eoljxw sub koha_object_class { - 'Koha::ERM::Package::Agreement'; + 'Koha::ERM::EHoldings::Package::Agreement'; } sub koha_objects_class { - 'Koha::ERM::Package::Agreements'; + 'Koha::ERM::EHoldings::Package::Agreements'; } 1; -- 2.39.5