Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Nick Clemens 8acf5912b3 Bug 9634: Allow for combining same paraneters in SQL reports
This patch combines report paramters with the same name and data type
(authorised value)

This presereves the past ability to provide all parameters as
'sql_params' in order to preserve existing public report links

To test:
 1 - Create a report that takes multiple parameters, e.g.:
SELECT <<cat>> AS one, <<dog|branches>> AS two, <<dog|YES_NO>> as three,
       <<cat>> as four, <<dog|branches>> as five
 2 - Run this report, note you are asked for five parameters
 3 - Apply patch
 4 - Update database
 5 - Run report, note you are asked for three params
 6 - Verify the results reflect the supplied parameters
 7 - Export the report and verify results
 8 - Alter the URL and provide 5 params as sql_params and no param_name
 variables i.e.
 http://localhost:8081/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Run+this+report&sql_params=Banana&sql_params=CPL&sql_params=0&sql_params=Orange&sql_params=LPL
 9 - Verify results come out as expected. i.e. 5 different values that
       are those of the URL.

Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-11 16:45:08 -03:00
..
csv
acquisitions_stats.tt
bor_issues_top.tt
borrowers_out.tt
borrowers_stats.tt
cash_register_stats.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
cat_issues_top.tt
catalogue_out.tt
catalogue_stats.tt
convert_report.tt
dictionary.tt Bug 20372: Correct toolbar markup on some pages 2018-03-19 13:55:53 -03:00
guided_reports_start.tt Bug 9634: Allow for combining same paraneters in SQL reports 2018-04-11 16:45:08 -03:00
issues_avg_stats.tt
issues_stats.tt
itemslost.tt Bug 19467: Display description instead of code for itemtype and location 2018-03-26 17:31:13 -03:00
itemtypes.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
orders_by_budget.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
reports-home.tt Bug 20345: Put saved report keyword search form on reports home 2018-03-26 17:31:27 -03:00
reserves_stats.tt
serials_stats.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00