Bug 9719 - Changing the rows per page on a custom report fails if it has user supplie...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 27 Feb 2013 13:46:56 +0000 (08:46 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 11:27:45 +0000 (07:27 -0400)
commit1ef0284759874164a21fb842aa27446422e7ecc7
treebe2b496231c1eb5e2c023df05a11980cacd9f8e6
parentc2db827e64b421fdf98a5d839e31276bf9d4674a
Bug 9719 - Changing the rows per page on a custom report fails if it has user supplied parameters

If you create an SQL report that includes one or more parameters,
using the 'rows per page' pulldown does not work. Instead, it will
prompt for the parameters again and shows the first page of output.

Test Plan:
1) Create a new report from sql as follows:
    SELECT * FROM borrowers WHERE surname LIKE <<Last Name>> AND firstname LIKE <<First Name>>
2) Run this report
3) Change the 'Rows per page' and click 'Update'
4) This should kick you back to the start where the report asks you for your parameters
5) Apply the patch
6) Repeat step 3, this time is should work correctly

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely now. All tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 020b8a66bc1ea9173ede154678ff690fd5f67c1f)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
reports/guided_reports.pl