LP#1621178: Tweaks to item status column picker option user/kmlussier/lp1621178-grid-copy-status-picker
authorKathy Lussier <klussier@masslnc.org>
Fri, 3 Mar 2017 12:33:37 +0000 (07:33 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 3 Mar 2017 13:10:26 +0000 (08:10 -0500)
This commit:
* Sets copy status as visible by default on the Item Status list page
* Removes the copy status column from the Checkout page. The expectation is
that items will not appear in this grid unless they have a Checked out status.
* Adds the copy status to the holds pull list. This is mostly useful for staff
to see if an item was recently returned, and most likely to be found on the
reshelving cart.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/cat/item/t_list.tt2
Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2

index 75f22f5..3328f29 100644 (file)
@@ -61,7 +61,7 @@
   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible></eg-grid-field>
   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
-  <eg-grid-field label="[% l('Copy Status') %]" path="status.name"></eg-grid-field>
+  <eg-grid-field label="[% l('Copy Status') %]" path="status.name" visible></eg-grid-field>
 
   <eg-grid-field label="[% l('Title') %]"       
     path="call_number.record.simple_record.title" visible>
index 4f4502f..7a2e38b 100644 (file)
@@ -82,6 +82,7 @@
   <eg-grid-field label="[% l('Status') %]" path='status_string' hidden></eg-grid-field>
 
   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
+  <eg-grid-field label="[% l('Copy Status') %]" path='hold.current_copy.status.name' hidden></eg-grid-field>
   <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
   <eg-grid-field path='hold.usr.*' parent-idl-class="ahr" hidden></eg-grid-field>
   <eg-grid-field path='hold.usr.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
index 7035413..b2df987 100644 (file)
 
   <eg-grid-field path="circ.*" parent-idl-class="circ" hidden></eg-grid-field>
   <eg-grid-field path="acp.*" parent-idl-class="acp" hidden></eg-grid-field>
-  <eg-grid-field label="[% l('Copy Status') %]" path="acp.status.name" hidden></eg-grid-field>
   <eg-grid-field path="acn.*" parent-idl-class="acn" hidden></eg-grid-field>
   <eg-grid-field path="record.*" parent-idl-class="mvr" hidden></eg-grid-field>
   <eg-grid-field path="mbts.*" parent-idl-class="mbts" hidden></eg-grid-field>