LP1760662: Item Status Holdable Field Display user/jboyer/lp1760662_item_status_summary_holdable
authorJason Boyer <jboyer@library.in.gov>
Mon, 2 Apr 2018 17:55:02 +0000 (13:55 -0400)
committerJason Boyer <jboyer@library.in.gov>
Mon, 2 Apr 2018 17:55:02 +0000 (13:55 -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>
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>