Bug 10590 - parameterise the limit option
authorRobin Sheat <robin@catalyst.net.nz>
Mon, 15 Jul 2013 14:06:40 +0000 (02:06 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 15 Jul 2013 15:18:24 +0000 (15:18 +0000)
commit89cf013a6fadcb1347151798f3fdab0d8c75cd15
tree74101a4ad82a0d2c9acc79b6d9910fd5253f92cc
parent57866d6b67c3f8b29290150f21c71395315a73fe
Bug 10590 - parameterise the limit option

The limit option was previously substituted directly into the query. The
previous patch on bug 10590 filters it on input, but there's no reason
not to have it made to work properly in the query for added safety.

To test:

[1] Go to the top checkouts report (http://OPAC/cgi-bin/koha/opac-topissues.pl)
[2] Run the report several times, varying the filters on
    number of results and item type.
[3] Verify the the list of top checkouts appears to be correct.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
opac/opac-topissues.pl