Koha/opac/svc
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
..
auth Bug 22542: Force back button to display personal data 2019-05-02 13:43:48 +00:00
club Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
patron Bug 9303 [QA Followup] - Restore missing svc script 2015-12-31 13:09:49 +00:00
checkout_notes Bug 17698: Make patron notes show up on staff dashboard 2018-07-23 15:23:40 +00:00
overdrive Bug 22030: Use preference to determine username sent to overdrive 2019-01-08 13:59:46 +00:00
overdrive_proxy Bug 22010: Check preferences for ebook integration 2019-04-30 11:42:51 +00:00
recordedbooks Bug 17602: OPAC integration of RecordedBooks 2018-10-01 13:56:39 +00:00
report Bug 23390: Introduce placeholder syntax for report column names 2019-08-13 11:46:06 +01:00
shelfbrowser.pl Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
suggestion Bug 19991: use Modern::Perl in OPAC perl scripts 2018-08-30 13:40:32 +00:00