Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Nick Clemens 90d85eaeb9
Bug 23390: Introduce placeholder syntax for report column names
This patch adds the ability to rename columns in MySQL reports using a syntax:
[[column|alias]]

To test:
 1 - Write a report like:
     SELECT cardnumber FROM borrowers WHERE cardnumber LIKE '%9'
 2 - Run report
 3 - Note you can batch modify the patrons
 4 - Update report:
     SELECT cardnumber AS library_barcode FROM borrowers WHERE cardnumber LIKE '%9'
 5 - Run report
 6 - Note batch options are no longer present
 7 - Apply patch
 8 - Run report, no change
 9 - Update report like:
     SELECT [[cardnumber|library_barcode]] FROM borrowers WHERE cardnumber LIKE '%9'
10 - Run report
11 - Batch options work!
12 - Update report like:
    SELECT cardnumber FROM borrowers WHERE cardnumber LIKE '%9'
13 - Verify batch options still work
14 - Set report 'public'
15 - Verify report can be run via JSON URLs:
     http://kohadev.mydnsname.org:8080/cgi-bin/koha/svc/report?id=1
     http://kohadev.mydnsname.org:8081/cgi-bin/koha/svc/report?id=1

Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-08-13 11:46:06 +01:00
..
csv
acquisitions_stats.tt
bor_issues_top.tt
borrowers_out.tt
borrowers_stats.tt Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
cash_register_stats.tt Bug 22563: Update lost handling to use accountline.status 2019-07-15 11:28:01 +01:00
cat_issues_top.tt
catalogue_out.tt
catalogue_stats.tt
convert_report.tt
dictionary.tt Bug 23227: Remove type attribute from script tags: Reports 2019-07-15 11:27:58 +01:00
guided_reports_start.tt Bug 23390: Introduce placeholder syntax for report column names 2019-08-13 11:46:06 +01:00
issues_avg_stats.tt
issues_stats.tt
itemslost.tt Bug 23194: Fix other occurences 2019-07-15 11:27:58 +01:00
itemtypes.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
orders_by_budget.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
reports-home.tt Bug 22586: IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl 2019-03-29 11:29:05 +00:00
reserves_stats.tt
serials_stats.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00