From 8730f50fc9fd88ea05001bac6cf7ba11b06a8d8c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 2 Dec 2024 11:22:53 +0100 Subject: [PATCH] Bug 38594: Fix table settings on the course reserves tables - OPAC We are passing the columns settings, but KohaTable is expecting the table settings. Test plan: Hide some columns for the course reserves table at the OPAC Define a course, add 1+ items Go to the OPAC, "Course reserves" Notice that with this patch the columns are correctly hidden by default. --- .../opac-tmpl/bootstrap/en/modules/opac-course-details.tt | 4 ++-- .../opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt index 2ffc06914c5..27836cf3c6a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt @@ -125,7 +125,7 @@ [% INCLUDE 'columns_settings.inc' %] [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt index 0f51bfbe8c5..ee3c7f95dfd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-reserves.tt @@ -74,7 +74,7 @@ [% INCLUDE 'columns_settings.inc' %] [% END %] -- 2.34.1