From 40ee4bb5038c6f31590fa2ba8f853a636a0ded84 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 Signed-off-by: Owen Leonard --- .../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 9a1a3eaf65c..a5c57523fc7 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.39.5
Cover imageHost recordsUsed inCourse reservesSpine labelSpine label