From 82aa394c1350355a84a1202d39462a54520e26e9 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Mon, 4 May 2020 13:32:33 +0200
Subject: [PATCH] Bug 24161: (follow-up) DBIC changes

Define koha_object[s]_class methods
---
 Koha/Schema/Result/AqordersClaim.pm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Koha/Schema/Result/AqordersClaim.pm b/Koha/Schema/Result/AqordersClaim.pm
index f3ceb861f6..3b86f6747c 100644
--- a/Koha/Schema/Result/AqordersClaim.pm
+++ b/Koha/Schema/Result/AqordersClaim.pm
@@ -91,6 +91,11 @@ __PACKAGE__->belongs_to(
 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-05-04 08:25:41
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YHD9b6rUAPUM5HzFg4k9Wg
 
+sub koha_object_class {
+    'Koha::Acquisition::Order::Claim';
+}
+sub koha_objects_class {
+    'Koha::Acquisition::Order::Claims';
+}
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;
-- 
2.20.1