Bugzilla – Attachment 151782 Details for
Bug 33788
Items tab shows all previous borrowers instead of 3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33788: Limit the number of old issues rows returned
Bug-33788-Limit-the-number-of-old-issues-rows-retu.patch (text/plain), 1.08 KB, created by
Katrin Fischer
on 2023-05-29 16:54:08 UTC
(
hide
)
Description:
Bug 33788: Limit the number of old issues rows returned
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-05-29 16:54:08 UTC
Size:
1.08 KB
patch
obsolete
>From 0141d691b22418284ae397bae11bd1b84890f359 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 26 May 2023 14:44:05 +0000 >Subject: [PATCH] Bug 33788: Limit the number of old issues rows returned > >This patch updates the parameter from 'limit' to 'rows' > >To test: >1 - Checkout an item to 5 different people >2 - View item details on items tab of record >3 - Note you see last borrower, and three previous borrowers >4 - Apply patch, restart all >5 - Refresh page >6 - You shoulw now only see last borrower and 2 previous borrowers > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > catalogue/moredetail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl >index 787bac26b3..5997a8b827 100755 >--- a/catalogue/moredetail.pl >+++ b/catalogue/moredetail.pl >@@ -243,7 +243,7 @@ foreach my $item (@items){ > { itemnumber => $item->itemnumber }, > { > order_by => { '-desc' => 'returndate' }, >- limit => 3 >+ rows => 3 > } > ); > >-- >2.30.2
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 33788
:
151488
|
151763
| 151782