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 <chrisc@catalyst.net.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes all tests and QA script. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
55b2d04be1
commit
604bdb2363
|
|
@ -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,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue