LP#1618992 Webstaff checkin UI bib title link repair user/berick/lp1618992-webstaff-checkin-title-link
authorBill Erickson <berickxx@gmail.com>
Fri, 16 Sep 2016 21:16:53 +0000 (17:16 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 16 Sep 2016 21:17:01 +0000 (17:17 -0400)
Fix bib record title link in browser staff checkin grid so that clicking
on the link directs the user to the bib record page.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2

index 1ee0c09..c79561f 100644 (file)
@@ -63,7 +63,7 @@
     path='circ.xact_start'></eg-grid-field>
 
   <eg-grid-field label="[% l('Title') %]" path="title">
-    <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.doc_id()}}">
+    <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.record.doc_id()}}">
       {{item.title}}
     </a>
   </eg-grid-field>