LP1665052: Fix checkin workstation display on recent circs view
authorJane Sandberg <sandbej@linnbenton.edu>
Mon, 10 Sep 2018 16:23:29 +0000 (09:23 -0700)
committerBen Shum <ben@evergreener.net>
Wed, 12 Sep 2018 15:15:49 +0000 (11:15 -0400)
To test:
1) Go to Item Status > Detail View > Recent Circ History for
an item that is currently checked out.
2) Note that the Checkin Workstation field says
"{{circ.checkin_workstation.name()}}"
3) Apply this commit.
4) Note that the Checkin Workstation field is empty if an
item is an item hasn't been checked in, but is filled with
the appropriate workstation name after it has been checked
in.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2

index 200c59b..fcadfe8 100644 (file)
   <div class="flex-row">
     <div class="flex-cell">[% l('Checkin Workstation') %]</div>
     <div class="flex-cell well">
-      {{circ.checkin_workstation.name()}}
+      {{circ.checkin_workstation().name()}}
     </div>
   </div>
 </div>