LP1665052: Fix checkin workstation display on recent circs view user/sandbergja/lp1665052_correct_recent_circ_checkin_workstation
authorJane Sandberg <sandbej@linnbenton.edu>
Mon, 10 Sep 2018 16:23:29 +0000 (09:23 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Mon, 10 Sep 2018 16:23:29 +0000 (09:23 -0700)
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>
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>