From 96b873c6fb1e876402dd2510b44a5b1eebfc431f Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 10 Mar 2026 15:33:17 +0100 Subject: [PATCH] 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 --- .../includes/html_helpers/tables/items/catalogue_detail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index 9a1a3eaf65..a5c57523fc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -10,7 +10,7 @@ - + [% IF Koha.Preference('LocalCoverImages') %] [% END %] @@ -42,7 +42,7 @@ [% IF Koha.Preference('EasyAnalyticalRecords') %][% END %] [% IF ( analyze ) %][% END %] [% IF Koha.Preference('UseCourseReserves') %][% END %] - [% IF ( SpineLabelShowPrintOnBibDetails ) %][% END %] + [% IF ( SpineLabelShowPrintOnBibDetails ) %][% END %] [% IF ( CAN_user_editcatalogue_edit_items ) %][% END %] -- 2.43.0
Cover imageHost recordsUsed inCourse reservesSpine labelSpine label