From 901c1a85a97e53811d89aba40b422f66df8af7eb Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 11 Jul 2022 23:36:56 -0300 Subject: [PATCH] Bug 30275: (QA follow-up) Trivial fix to schema file Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/CheckoutRenewal.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/CheckoutRenewal.pm b/Koha/Schema/Result/CheckoutRenewal.pm index 67a17aa132..bf3cbe1883 100644 --- a/Koha/Schema/Result/CheckoutRenewal.pm +++ b/Koha/Schema/Result/CheckoutRenewal.pm @@ -140,7 +140,7 @@ Related object: L __PACKAGE__->belongs_to( "checkout", "Koha::Schema::Result::Issue", - { issue_id => "checkout_id" }, + { "foreign.issue_id" => "self.checkout_id" }, { is_deferrable => 1, join_type => "LEFT", @@ -158,7 +158,7 @@ Related object: L __PACKAGE__->belongs_to( "old_checkout", "Koha::Schema::Result::OldIssue", - { issue_id => "checkout_id" }, + { "foreign.issue_id" => "self.checkout_id" }, { is_deferrable => 1, join_type => "LEFT", -- 2.39.5