Koha/reports
Nick Clemens 45ec6ba3a4 Bug 27380: Move get_prepped_report to object and use for svc/reports
This patch moves get_prepped_report to Koha:Report->prep_report
and adds some basic tests

To test:
1 - Using the report created in last test, hit the report svc api like:
http://localhost:8081/cgi-bin/koha/svc/report?id=6&param_name=One&sql_params=One&param_name=Listy|list&sql_params=2345%0D%0A423%0D%0A3%0D%0A2%0D%0A12
2 - Note the use of %0D%0A to separate list params
3 - Test with combinations with and without param_name specified
http://localhost:8081/cgi-bin/koha/svc/report?id=6&sql_params=5&sql_params=2345%0D%0A423%0D%0A3%0D%0A2%0D%0A12

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

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

JD Amended patch: Perltidy prep_report

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-12 12:29:56 +01:00
..
acquisitions_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
bor_issues_top.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
borrowers_out.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
borrowers_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
cash_register_stats.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
cat_issues_top.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
catalogue_out.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
catalogue_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
dictionary.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
guided_reports.pl Bug 27380: Move get_prepped_report to object and use for svc/reports 2021-02-12 12:29:56 +01:00
issues_avg_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
issues_stats.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
itemslost.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
itemtypes.plugin Bug 26090: Fix "item types" report 2020-08-18 14:38:41 +02:00
manager.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
orders_by_fund.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
reports-home.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
reserves_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
serials_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00