Bug 19716

Summary: Add option to send header line for CSV output with runreport.pl
Product: Koha Reporter: Kyle M Hall <kyle>
Component: ReportsAssignee: Kyle M Hall <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: julian.maurice, katrin.fischer, nick, wizzyrea
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23327
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 19716 - Add option to send header line for CSV output
Bug 19716 - Add option to send header line for CSV output
Bug 19716 - Add option to send header line for CSV output

Description Kyle M Hall 2017-11-29 20:20:06 UTC
Currently, if outputting a CSV file using runreport.pl, you need to look at the report used to know what each column means. It would be nice if we could include column headers.
Comment 1 Kyle M Hall 2017-11-29 20:21:54 UTC
Created attachment 69424 [details] [review]
Bug 19716 - Add option to send header line for CSV output

Currently, if outputting a CSV file using runreport.pl, you need to look at the report used to know what each column means. It would be nice if we could include column headers.

Test Plan:
1) Apply this patch
2) Try using runreport.pl with --format csv --csv-header
Comment 2 David Bourgault 2017-12-01 21:09:37 UTC
Created attachment 69460 [details] [review]
Bug 19716 - Add option to send header line for CSV output

Currently, if outputting a CSV file using runreport.pl, you need to look at the report used to know what each column means. It would be nice if we could include column headers.

Test Plan:
1) Apply this patch
2) Try using runreport.pl with --format csv --csv-header

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Comment 3 Julian Maurice 2018-03-09 11:21:34 UTC
Created attachment 72560 [details] [review]
Bug 19716 - Add option to send header line for CSV output

Currently, if outputting a CSV file using runreport.pl, you need to look at the report used to know what each column means. It would be nice if we could include column headers.

Test Plan:
1) Apply this patch
2) Try using runreport.pl with --format csv --csv-header

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Comment 4 Jonathan Druart 2018-03-23 15:36:05 UTC
Pushed to master for 18.05, thanks to everybody involved!
Comment 5 Nick Clemens 2018-03-26 12:03:05 UTC
Enhancement, not backported for 17.11
Comment 6 Liz Rea 2023-06-22 18:37:46 UTC
*** Bug 23327 has been marked as a duplicate of this bug. ***