LP#1721148: In-house use shows copy status
authorBill Erickson <berickxx@gmail.com>
Mon, 21 May 2018 18:22:32 +0000 (14:22 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 25 May 2018 19:01:37 +0000 (15:01 -0400)
Adds a Copy Status column to the In-House use checkout grid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/in_house_use/index.tt2
Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js

index df39540..3af529e 100644 (file)
@@ -80,6 +80,7 @@
   <eg-grid-field label="[% l('CN Suffix') %]" path="copy.call_number.suffix.label" visible></eg-grid-field>
   <eg-grid-field label="[% l('Location') %]"    path="copy.location.name" visible></eg-grid-field>
   <eg-grid-field label="[% l('Title') %]"       path="title" visible></eg-grid-field>
+  <eg-grid-field label="[% l('Copy Status') %]" path="copy.status.name" visible></eg-grid-field>
 </eg-grid>
 
 <div class="flex-row pad-vert">
index 2dd2e51..6c65122 100644 (file)
@@ -95,7 +95,7 @@ function($scope , egCore , egGridDataProvider , egConfirmDialog,
                 {barcode : args.barcode, deleted : 'f'},
                 {   flesh : 3, 
                     flesh_fields : {
-                        acp : ['call_number','location'],
+                        acp : ['call_number','location','status'],
                         acn : ['record', 'prefix', 'suffix'],
                         // We don't need to display a wide range of bib
                         // fields in this UI.  Fetch the flat display since