Bugzilla – Attachment 187312 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.09 KB, created by
Andrew Fuerste-Henry
on 2025-10-02 18:39:34 UTC
(
hide
)
Description:
Bug 26993: Schema changes
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-10-02 18:39:34 UTC
Size:
1.09 KB
patch
obsolete
>From bb3574103b0ae4194cdf4710ae2b9ddfd64f3d77 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 > >Signed-off-by: Trevor Diamond <trevor.diamond@mainlib.org> >--- > 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