From 9afff59d6ca59ed3a2dc68d35e9d7ec8926fbc33 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 22 Sep 2025 21:40:20 +0000 Subject: [PATCH] Bug 26993: Schema changes --- Koha/Schema/Result/Item.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index 83b361a1400..a11725c33e4 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -833,7 +833,7 @@ Related object: L =cut -__PACKAGE__->might_have( +__PACKAGE__->has_many( "items_last_borrower", "Koha::Schema::Result::ItemsLastBorrower", { "foreign.itemnumber" => "self.itemnumber" }, @@ -1068,7 +1068,7 @@ __PACKAGE__->has_many( # Relationship with bundled items __PACKAGE__->many_to_many( bundle_items => 'item_bundles_hosts', 'item' ); -__PACKAGE__->might_have( +__PACKAGE__->has_many( "last_returned_by", "Koha::Schema::Result::ItemsLastBorrower", { "foreign.itemnumber" => "self.itemnumber" }, -- 2.39.5