Bugzilla – Attachment 140574 Details for
Bug 30802
numReturnedItemsToShow doesn't show more than 20 items on the return screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30802: (QA follow-up) Simplify a ternary
Bug-30802-QA-follow-up-Simplify-a-ternary.patch (text/plain), 1.07 KB, created by
Marcel de Rooy
on 2022-09-13 13:27:47 UTC
(
hide
)
Description:
Bug 30802: (QA follow-up) Simplify a ternary
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-09-13 13:27:47 UTC
Size:
1.07 KB
patch
obsolete
>From 89e7b83c579e99fbfd01b3573d1f5dbfa2e77758 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 13 Sep 2022 13:06:53 +0000 >Subject: [PATCH] Bug 30802: (QA follow-up) Simplify a ternary >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index f146325ec6..12e4d70b05 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -96,7 +96,7 @@ my $forgivemanualholdsexpire = $query->param('forgivemanualholdsexpire'); > my $overduecharges = (C4::Context->preference('finesMode') && C4::Context->preference('finesMode') eq 'production'); > > #set up so only the last 8 returned items display (make for faster loading pages) >-my $returned_counter = ( C4::Context->preference('numReturnedItemsToShow') ) ? C4::Context->preference('numReturnedItemsToShow') : 8; >+my $returned_counter = C4::Context->preference('numReturnedItemsToShow') || 8; > > # Set up the item stack .... > my %returneditems; >-- >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 30802
:
135206
|
140392
|
140393
|
140573
| 140574