From 4cf1f1ca81b6fc206ad7fa1068216c90d40a2146 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" --- 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 3d5f3b8..38c6df0 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, ); -- 1.7.10.4