]> git.koha-community.org Git - koha.git/commit
bugfix Guided Reports - allow user specified limit in sql
authorMichael Hafen <mdhafen@tech.washk12.org>
Wed, 4 Nov 2009 21:31:48 +0000 (14:31 -0700)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 18 Feb 2010 18:52:18 +0000 (13:52 -0500)
commite752822d048e134d632e0dfbbdcbbdbb6a9769e8
treee92eb266e3dcbd42ffb58740cb9534d8d3379277
parent0d2095072e0147f3383eb485b01ad64d9aa0549d
bugfix Guided Reports - allow user specified limit in sql

Tweak the regular expression in strip_limit to work.
Tweak execute_query to use the user limit if it's lower than the hard coded one.
Also total is calculated somewhere else now.

This helps most with the csv export of a report so the user can set their own
limit instead of having the hard coded limit of 9999.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Reports/Guided.pm