From a796a238473c5d65d4624e098bb921c657dbaad9 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Mon, 17 Jul 2017 10:48:02 -0400 Subject: [PATCH] LP1700773: Add Circ Mod to Staff TPAC Add the Circ Modifier to the Record Detail page in the staff opac so users don't have to go back and forth between Holdings Maintenance as often. Signed-off-by: Jason Boyer Signed-off-by: Josh Stompro --- Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm | 2 +- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 2 ++ docs/RELEASE_NOTES_NEXT/OPAC/circ_modifier_staff.adoc | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 docs/RELEASE_NOTES_NEXT/OPAC/circ_modifier_staff.adoc diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index bcfc81be65..790425edf1 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -2046,7 +2046,7 @@ sub basic_opac_copy_query { return { select => { acp => ['id', 'barcode', 'circ_lib', 'create_date', 'active_date', - 'age_protect', 'holdable', 'copy_number'], + 'age_protect', 'holdable', 'copy_number', 'circ_modifier'], acpl => [ {column => 'name', alias => 'copy_location'}, {column => 'holdable', alias => 'location_holdable'}, diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index ec8dda4fb8..3205b0e2ab 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -45,6 +45,7 @@ IF has_copies; [% l("Barcode") %] [% l("Shelving Location") %] [%- IF ctx.is_staff %] + [% l("Circulation Modifier") %] [% l("Age Hold Protection") %] [% l("Active/Create Date") %] [%- END %] @@ -138,6 +139,7 @@ END; # FOREACH bib [%- INCLUDE "opac/parts/location_name_link.tt2"; -%] [%- IF ctx.is_staff %] + [% copy_info.circ_modifier | html %] [% copy_info.age_protect ? ctx.get_crahp(copy_info.age_protect).name : l('None') | html %] diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/circ_modifier_staff.adoc b/docs/RELEASE_NOTES_NEXT/OPAC/circ_modifier_staff.adoc new file mode 100644 index 0000000000..9eb2284a78 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/OPAC/circ_modifier_staff.adoc @@ -0,0 +1,6 @@ +Add Circ Modifier to Record Detail Page in Staff TPAC +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +The circ_modifier field is added to the copy table to make +more information available to staff without having to open +the Holdings Maintenance view. + -- 2.11.0