]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 24 Apr 2023 17:47:32 +0000 (17:47 +0000)
commitdc7fb83485e5babde8dea2e4da037163d3ce2a00
tree83be99386c9f719dfa90c60d1aa0bd9f5a2a0dc9
parent6a67b16baafb7c1cc53bfe080a86835238977c52
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>
(cherry picked from commit 94077abab8c9c0f5fb5ad08966acd3ff8e44bd31)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/cronjobs/runreport.pl