From 604bdb236397de734871ee94ea09d11e85624fc3 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Thu, 28 Mar 2013 14:28:49 +0100 Subject: [PATCH] Bug 9946 - opac-topissues with no time limit When in opac-topissues using filter "of the last:" with value "No limit", the result shows the caption : "The 10 most checked-out in the past 999 months". This patch corrects a typo error : $timeLimit was used instead of $timeLimitFinite Test plan : - Go to OPAC most popular - Select "No limit" in last filter and submit => Check that result displays caption : "The 10 most checked-out of all time" - Come back - Select "6 months" in last filter and submit => Check that result displays caption : "The 10 most checked-out in the past 6 months" Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Passes all tests and QA script. Signed-off-by: Jared Camins-Esakov --- opac/opac-topissues.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl index 3d5f3b84eb..38c6df0b24 100755 --- a/opac/opac-topissues.pl +++ b/opac/opac-topissues.pl @@ -125,7 +125,7 @@ $template->param(do_it => 1, branch => $branches->{$branch}->{branchname}, itemtype => $itemtypes->{$itemtype}->{description}, timeLimit => $timeLimit, - timeLimitFinite => $timeLimit, + timeLimitFinite => $timeLimitFinite, results_loop => \@results, ); -- 2.39.5