From: David Bourgault Date: Wed, 22 Nov 2017 18:58:21 +0000 (-0500) Subject: Bug 19681: Correct result count formatting X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=916b057e91f69c86b92bd416011b87cc614632f2;p=koha.git Bug 19681: Correct result count formatting 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 Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl index 53b7d46755..d93c922225 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; }