From: Jane Sandberg <sandbej@linnbenton.edu>
Date: Mon, 10 Sep 2018 16:23:29 +0000 (-0700)
Subject: LP1665052: Fix checkin workstation display on recent circs view
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6de97f9b7bf3588b901421682757146dbff3af40;p=evergreen%2Fequinox.git

LP1665052: Fix checkin workstation display on recent circs view

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>
---

diff --git a/Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2 b/Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2
index 200c59b885..fcadfe8f8d 100644
--- a/Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2
+++ b/Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2
@@ -193,7 +193,7 @@
   <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>