From 66b6c1d7375eb0e8683e9f2191172944593420ea Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 10 Sep 2020 11:21:59 -0400 Subject: [PATCH] Bug 24857: (QA follow-up) Add volume to table settings --- admin/columns_settings.yml | 4 ++++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 9bd8810432..5cac1cd4ac 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -308,6 +308,8 @@ modules: columnname: holdings_homebranch - columnname: holdings_ccode + - + columnname: holdings_volume - columnname: holdings_itemcallnumber - @@ -365,6 +367,8 @@ modules: columnname: otherholdings_homebranch - columnname: otherholdings_ccode + - + columnname: otherholdings_volume - columnname: otherholdings_itemcallnumber - 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 7df9912a29..65f32497d5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -332,7 +332,9 @@ Current library Home library [% IF ( itemdata_ccode ) %]Collection[% END %] - [% IF Koha.Preference('EnableVolumes') %]Volume[% END %] + [% IF Koha.Preference('EnableVolumes') %] + Volume + [% END %] Call number [% IF volinfo %] Serial enumeration / chronology @@ -407,7 +409,7 @@ Note that permanent location is a code, and location may be an authval. [% IF ( itemdata_ccode ) %][% item.ccode | html %][% END %] - [% IF Koha.Preference('EnableVolumes') %][% item.object.volume.description | html %][% END %] + [% IF Koha.Preference('EnableVolumes') %][% item.object.volume.description | html %][% END %] [% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %] [% IF ( volinfo ) %] [% IF itemdata_publisheddate #If there is at least one published date, use it for sorting %] -- 2.30.1 (Apple Git-130)