Nick Clemens
8acf5912b3
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> |
||
---|---|---|
.. | ||
acquisitions_stats.pl | ||
bor_issues_top.pl | ||
borrowers_out.pl | ||
borrowers_stats.pl | ||
cash_register_stats.pl | ||
cat_issues_top.pl | ||
catalogue_out.pl | ||
catalogue_stats.pl | ||
dictionary.pl | ||
guided_reports.pl | ||
issues_avg_stats.pl | ||
issues_stats.pl | ||
itemslost.pl | ||
itemtypes.plugin | ||
manager.pl | ||
orders_by_fund.pl | ||
reports-home.pl | ||
reserves_stats.pl | ||
serials_stats.pl |