]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Apr 2023 12:29:23 +0000 (09:29 -0300)
commitbad0d52245ebf7fe73131e3721a99f7ec9a965ce
treee6c841d83716843a54f5a3f49ec43df65b16b9e3
parent92e3793eb87485a5726cd26bd1c567ca574b2760
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>
misc/cronjobs/runreport.pl