From: Jason Boyer <jboyer@library.in.gov>
Date: Mon, 2 Apr 2018 17:55:02 +0000 (-0400)
Subject: LP1760662: Item Status Holdable Field Display
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=06dbcabe0fb0b06f176e9d355559fca487746a58;p=evergreen%2Fequinox.git

LP1760662: Item Status Holdable Field Display

The Holdable field on the Summary tab of the Detail View
of Item Status was displaying the value for OPAC Visible.
Let's change that from opac_visible() to holdable().

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
---

diff --git a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
index 3ef0b351df..c6a5288503 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
@@ -130,7 +130,7 @@
     <div class="flex-cell well">{{copy.id()}}</div>
 
     <div class="flex-cell">[% l('Holdable') %]</div>
-    <div class="flex-cell well">{{copy.opac_visible()}}</div>
+    <div class="flex-cell well">{{copy.holdable() | boolText}}</div>
 
     <div class="flex-cell">[% l('In-House Uses') %]</div>
     <div class="flex-cell well">{{copy._inHouseUseCount}}</div>