From e675dd129aa52cc0f35117cf93ab9ddeccb28d6e 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=UTF-8 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 --- .../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 b6417bca139..fab350eabc1 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.34.1