lp1702568 Copy Location fix for Hold Detail View
authorJason Etheridge <jason@equinoxinitiative.org>
Wed, 5 Jul 2017 21:02:43 +0000 (17:02 -0400)
committerJason Etheridge <jason@equinoxinitiative.org>
Wed, 5 Jul 2017 21:17:46 +0000 (17:17 -0400)
hold.current_copy.location is better fleshed than copy.location in this case

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
Signed-off-by: Andrea Neiman <abneiman@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/share/t_hold_details.tt2

index 1da860e..27ab8ec 100644 (file)
@@ -32,7 +32,7 @@
   <div class="flex-cell">[% l('Current Shelf Lib') %]</div>
   <div class="flex-cell well">{{hold.current_shelf_lib().shortname()}}</div>
   <div class="flex-cell">[% l('Current Copy Location') %]</div>
-  <div class="flex-cell well">{{copy.location().name()}}</div>
+  <div class="flex-cell well">{{hold.current_copy().location().name()}}</div>
   <div class="flex-cell">[% l('Force Copy Quality') %]</div>
   <div class="flex-cell well">{{hold.mint_condition() == 't'}}</div>
 </div>