From: Bill Erickson <berickxx@gmail.com>
Date: Mon, 21 May 2018 18:22:32 +0000 (-0400)
Subject: LP#1721148: In-house use shows copy status
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1411fad92715f6428019a67e68a47095af001f58;p=evergreen%2Fequinox.git

LP#1721148: In-house use shows copy status

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>
---

diff --git a/Open-ILS/src/templates/staff/circ/in_house_use/index.tt2 b/Open-ILS/src/templates/staff/circ/in_house_use/index.tt2
index df39540e1c..3af529e760 100644
--- a/Open-ILS/src/templates/staff/circ/in_house_use/index.tt2
+++ b/Open-ILS/src/templates/staff/circ/in_house_use/index.tt2
@@ -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">
diff --git a/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js b/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js
index 2dd2e512a4..6c65122210 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js
@@ -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