LP1760662: Item Status Holdable Field Display
authorJason Boyer <jboyer@library.in.gov>
Mon, 2 Apr 2018 17:55:02 +0000 (13:55 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 18 Apr 2018 18:01:01 +0000 (14:01 -0400)
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>
Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2

index 3ef0b35..c6a5288 100644 (file)
     <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>