LP1700773: Add Circ Mod to Staff TPAC
authorJason Boyer <jboyer@library.in.gov>
Mon, 17 Jul 2017 14:48:02 +0000 (10:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 19 Jul 2017 15:40:40 +0000 (11:40 -0400)
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 <jboyer@library.in.gov>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
docs/RELEASE_NOTES_NEXT/OPAC/circ_modifier_staff.adoc [new file with mode: 0644]

index bcfc81b..790425e 100644 (file)
@@ -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'},
index ec8dda4..3205b0e 100644 (file)
@@ -45,6 +45,7 @@ IF has_copies;
             <th scope='col'>[% l("Barcode") %]</th>
             <th scope='col'>[% l("Shelving Location") %]</th>
             [%- IF ctx.is_staff %]
+            <th scope='col'>[% l("Circulation Modifier") %]</th>
             <th scope='col'>[% l("Age Hold Protection") %]</th>
             <th scope='col'>[% l("Active/Create Date") %]</th>
             [%- END %]
@@ -138,6 +139,7 @@ END; # FOREACH bib
             </td>
             <td property="availableAtOrFrom">[%- INCLUDE "opac/parts/location_name_link.tt2"; -%]</td>
             [%- IF ctx.is_staff %]
+            <td>[% copy_info.circ_modifier | html %]</td>
             <td>
                 [% 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 (file)
index 0000000..9eb2284
--- /dev/null
@@ -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.
+