]> git.koha-community.org Git - koha.git/commit
Bug 33285: Allow specifying the delimeter for runreport.pl
authorNick Clemens <nick@bywatersolutions.com>
Mon, 20 Mar 2023 20:08:56 +0000 (20:08 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 17:13:41 +0000 (18:13 +0100)
commit94077abab8c9c0f5fb5ad08966acd3ff8e44bd31
tree3469d95a93db34a71bb4c451f0f4fd4dd559bafe
parentcb7496a37cc8b02b6933649d1d70413074441e91
Bug 33285: Allow specifying the delimeter for runreport.pl

To test:
1 - Write a report in koha
2 - perl misc/cronjobs/runreport.pl --format csv 1 (or correct report number)
3 - Note you get commas
4 - Apply patch
5 - Repeat #2 - no change
6 - perl misc/cronjobs/runreport.pl --format csv --separator "|" 1
7 - Now it is pipe delimited
8 - perl misc/cronjobs/runreport.pl --format tsv --separator "|" 1
9 - Error is reported, you cannot set separator unless csv
10 - Try other separators

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bad0d52245ebf7fe73131e3721a99f7ec9a965ce)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
misc/cronjobs/runreport.pl