From 6f0af1e55736d62ff22cd0d905d7296562402b64 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 d825168439..82e85c1f1a 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -286,6 +286,8 @@ modules: columnname: holdings_homebranch - columnname: holdings_ccode + - + columnname: holdings_volume - columnname: holdings_itemcallnumber - @@ -343,6 +345,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 0da673a314..5376547342 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -296,7 +296,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 %] [% IF itemdata_publisheddate #If there is at least one published date, use it for sorting%] @@ -375,7 +377,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 ) %] -- 2.24.1 (Apple Git-126)