From 0fb954d5312f596e8dd0579f34581e96f37c530c 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 96b3a31a68..67f0048569 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -280,6 +280,8 @@ modules: columnname: holdings_homebranch - columnname: holdings_ccode + - + columnname: holdings_volume - columnname: holdings_itemcallnumber - @@ -335,6 +337,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 b7f34eb3af..a9557de31e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -294,7 +294,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%] @@ -357,7 +359,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)