Bug 42052 - Do not export first column of items table in catalogue details page
Summary: Do not export first column of items table in catalogue details page
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Fridolin Somers
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-10 14:25 UTC by Fridolin Somers
Modified: 2026-03-10 18:39 UTC (History)
0 users

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


Attachments
Bug 42052: Do not export useless columns of items table in catalogue details page (2.90 KB, patch)
2026-03-10 14:54 UTC, Fridolin Somers
Details | Diff | Splinter Review
Bug 42052: Do not export useless columns of items table in catalogue details page (2.96 KB, patch)
2026-03-10 18:39 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2026-03-10 14:25:44 UTC
In catalogue details page, staff interface, do not export first column of items (aka holdings) table.
It contains only checkboxes.
CSV export generates a column wihtout heading which is useless.
Comment 1 Fridolin Somers 2026-03-10 14:31:12 UTC
Idem for "Spine label" column, should not be exported
Comment 2 Fridolin Somers 2026-03-10 14:54:44 UTC
Created attachment 195088 [details] [review]
Bug 42052: Do not export useless columns of items table in catalogue details page

In catalogue details page, staff interface, do not export first column of items (aka holdings) table.
It contains only checkboxes.
CSV export generates a column wihtout heading which is useless.
Idem for "Spine label" column, should not be exported.

Patch simply add "no-export" class on those column header.

Test plan :
1) Enable systempreference 'SpineLabelShowPrintOnBibDetails'
2) In staff interface go to a biblio record with items
3) Check you see items table with first colum containing checkboxes and column containing links to print label
4) Click Export > CSV
5) Check you dont see first empty column nor spine label column
Comment 3 Owen Leonard 2026-03-10 18:39:36 UTC
Created attachment 195090 [details] [review]
Bug 42052: Do not export useless columns of items table in catalogue details page

In catalogue details page, staff interface, do not export first column
of items (aka holdings) table.
It contains only checkboxes.
CSV export generates a column wihtout heading which is useless.
Idem for "Spine label" column, should not be exported.

Patch simply add "no-export" class on those column header.

Test plan :
1) Enable systempreference 'SpineLabelShowPrintOnBibDetails'
2) In staff interface go to a biblio record with items
3) Check you see items table with first colum containing checkboxes and
   column containing links to print label
4) Click Export > CSV
5) Check you dont see first empty column nor spine label column

Signed-off-by: Owen Leonard <oleonard@myacpl.org>