Bugzilla – Attachment 69333 Details for
Bug 19681
label-item-search.pl result count formatting error when there is only one page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19681: Correct result count formatting
Bug-19681-Correct-result-count-formatting.patch (text/plain), 1.03 KB, created by
Marcel de Rooy
on 2017-11-24 09:39:14 UTC
(
hide
)
Description:
Bug 19681: Correct result count formatting
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-11-24 09:39:14 UTC
Size:
1.03 KB
patch
obsolete
>From b3fdc05dba29eb7f55637e3b9e2b43468ee9eb1d Mon Sep 17 00:00:00 2001 >From: David Bourgault <david.bourgault@inlibro.com> >Date: Wed, 22 Nov 2017 13:58:21 -0500 >Subject: [PATCH] Bug 19681: Correct result count formatting >Content-Type: text/plain; charset=utf-8 > >This simply passes the missing information to the template. > >Test plan: >0) Apply patch >1) Go to Tools > Label creator > New > Label batch >2) Press 'Add items' >3) Do a search that will return few items >4) The result count will read "Results 1 through X of X" > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > labels/label-item-search.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl >index 53b7d46..d93c922 100755 >--- a/labels/label-item-search.pl >+++ b/labels/label-item-search.pl >@@ -202,6 +202,8 @@ if ($show_results) { > > } > else { >+ $from = 1; >+ $to = $total_hits; > $displayprev = 0; > $displaynext = 0; > } >-- >2.1.4
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 19681
:
69289
|
69293
|
69294
| 69333