From 2db51d681f780df93aaa9d3ff230d10333fbbb0d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 21 Feb 2020 20:54:41 +0000 Subject: [PATCH] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl Signed-off-by: Devinim Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- admin/columns_settings.yml | 24 +++++++++++++++++++ .../en/modules/opac-course-details.tt | 13 ++++++---- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index ede1cdf367..282d929ff3 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1143,6 +1143,30 @@ modules: - columnname: serial_notes + course-items-table: + - + columnname: title + - + columnname: author + - + columnname: itemtype + - + columnname: location + - + columnname: collection + - + columnname: callnumber + - + columnname: copynumber + - + columnname: status + - + columnname: datedue + - + columnname: notes + - + columnname: link + serials: subscription-detail: orders: 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 6ab523fca8..5db0b526d3 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 @@ -5,6 +5,7 @@ [% USE AuthorisedValues %] [% USE ItemTypes %] [% USE Branches %] +[% USE ColumnsSettings %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Course reserves for [% course.course_name | html %] [% INCLUDE 'doc-head-close.inc' %] @@ -106,15 +107,19 @@ [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] [% END %] -- 2.39.5