]> git.koha-community.org Git - koha.git/commit
Bug 10590 - parameterise the limit option
authorRobin Sheat <robin@catalyst.net.nz>
Mon, 15 Jul 2013 14:06:40 +0000 (02:06 +1200)
committerChris Hall <followingthepath@gmail.com>
Thu, 18 Jul 2013 08:59:00 +0000 (20:59 +1200)
commit55bb257cae30d096f32209648a65e65f9a6a400a
treef60f4c390d1c8d3778597eb9c48383d0170b6a34
parent5260c7fe3bb2b50188a6c8bc4ed49a6eb45356ba
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>
(cherry picked from commit 89cf013a6fadcb1347151798f3fdab0d8c75cd15)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 2e77edf8dfa0350a6e20805e7fa39b97608c804e)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 2e77edf8dfa0350a6e20805e7fa39b97608c804e)
Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit f5ee81028dda33027daf3c921b38bf06218f9dfa)
opac/opac-topissues.pl