From 9179bb11f69f2d3793e7aac7fdf5e51fdc98550d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Apr 2023 16:13:02 +0200 Subject: [PATCH] Bug 33568: Add columns visibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Owen Leonard Signed-off-by: Laurence Rault Signed-off-by: Emily Lamancusa Signed-off-by: Tomás Cohen Arazi Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index b6417bca13..fab350eabc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -695,7 +695,7 @@ [% IF ( count ) %] [% IF ( showncount ) %] - [% PROCESS items_table tab="holdings" items=itemloop %] + [%# PROCESS items_table tab="holdings" items=itemloop %] [% SET tab="holdings" %] @@ -2501,6 +2501,7 @@ order: [[ 0, "asc" ]], embed, bAutoWidth: false, + bKohaColumnsUseNames: true, // FIXME We should not need that now, do we? columns: [ [% IF (StaffDetailItemSelection) %] { @@ -2817,7 +2818,9 @@ } }); }, - }); + }, + table_settings, + true); [% CoverImagePlugins | $raw %] [% END %] -- 2.39.5