Bug 40880 - Exporting Item search results to csv, columns after Damaged Status are misaligned
Summary: Exporting Item search results to csv, columns after Damaged Status are misali...
Status: Needs documenting
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Nick Clemens (kidclamp)
QA Contact: Marcel de Rooy
URL:
Keywords: rel_25_05_candidate
Depends on: 33729
Blocks:
  Show dependency treegraph
 
Reported: 2025-09-25 18:51 UTC by Nick Clemens (kidclamp)
Modified: 2025-10-31 14:52 UTC (History)
3 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.05
Circulation function:


Attachments
Bug 40880: Correct columns headers for CSV export from item search (3.36 KB, patch)
2025-09-25 18:53 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 40880: Correct columns headers for CSV export from item search (3.50 KB, patch)
2025-09-26 06:38 UTC, Marcel de Rooy
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2025-09-25 18:51:25 UTC
Looks like a bad copy paste in the the headers template:

"[% t("Damaged status") | html %]"[% t("Date accessioned") | html %]"[%- delimiter | $raw -%]"[%- delimiter | $raw -%]"
Comment 1 Nick Clemens (kidclamp) 2025-09-25 18:53:05 UTC
Created attachment 186934 [details] [review]
Bug 40880: Correct columns headers for CSV export from item search

To test:
1 - Do an item search, select some rows
2 - Export selected rows as 'CSV'
3 - IMport into a spreadsheet or view and note missing/doubled delimiters after damaged status
4 - Apply patch
5 - Repeat export
6 - It works!
Comment 2 Nick Clemens (kidclamp) 2025-09-25 18:54:52 UTC
Simple self SO
Comment 3 Marcel de Rooy 2025-09-26 06:34:33 UTC
(In reply to Nick Clemens (kidclamp) from comment #2)
> Simple self SO

Too simple, without signoff line? Will correct.
Comment 4 Marcel de Rooy 2025-09-26 06:38:58 UTC
Created attachment 186954 [details] [review]
Bug 40880: Correct columns headers for CSV export from item search

To test:
1 - Do an item search, select some rows
2 - Export selected rows as 'CSV'
3 - IMport into a spreadsheet or view and note missing/doubled delimiters after damaged status
4 - Apply patch
5 - Repeat export
6 - It works!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 5 Lucas Gass (lukeg) 2025-09-26 16:42:03 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 6 Paul Derscheid 2025-10-23 21:11:17 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 7 Baptiste Wojtkowski (bwoj) 2025-10-31 14:52:55 UTC
Depends on non backported Bug 33729, not backported