Bugzilla – Attachment 186806 Details for
Bug 26993
Allow StoreLastBorrower to retain a locally-defined number of previous borrowers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26993: Schema changes
Bug-26993-Schema-changes.patch (text/plain), 1.04 KB, created by
Lucas Gass (lukeg)
on 2025-09-23 13:57:56 UTC
(
hide
)
Description:
Bug 26993: Schema changes
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-09-23 13:57:56 UTC
Size:
1.04 KB
patch
obsolete
>From 9afff59d6ca59ed3a2dc68d35e9d7ec8926fbc33 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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<Koha::Schema::Result::ItemsLastBorrower> > > =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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26993
:
186773
|
186774
|
186775
|
186776
|
186801
|
186805
|
186806
|
186807
|
186808
|
186809
|
186844
|
186853
|
187311
|
187312
|
187313
|
187314
|
187315
|
187316
|
187459
|
187460
|
187483
|
187484