LP1859513: In-house use link to item summary
authorGarry Collum <gcollum@gmail.com>
Wed, 17 Feb 2021 19:56:38 +0000 (14:56 -0500)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 16 Mar 2021 18:51:01 +0000 (11:51 -0700)
Adds a link from the item's barcode in the in-house checkin screen to the item summary screen.

To test:
Type an item barcode into the In-House Use screen. Click on the barcode that displays in the item list.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/templates/staff/circ/in_house_use/index.tt2

index 5f4e873..4c5ddfc 100644 (file)
   persist-key="circ.in_house_use">
 
   <eg-grid-field label="[% l('# of Uses') %]"   path='num_uses' visible></eg-grid-field>
-  <eg-grid-field label="[% l('Barcode') %]"     path='copy.barcode' visible></eg-grid-field>
+  <eg-grid-field label="[% l('Barcode') %]"     path='copy.barcode' visible>
+    <a href="./cat/item/{{item.copy.id()}}/summary" target="_self">
+    {{item.copy.barcode()}} 
+    </a>
+  </eg-grid-field>
   <eg-grid-field label="[% l('CN Prefix') %]" path="copy.call_number.prefix.label" visible></eg-grid-field>
   <eg-grid-field label="[% l('Call Number') %]" path="copy.call_number.label" visible></eg-grid-field>
   <eg-grid-field label="[% l('CN Suffix') %]" path="copy.call_number.suffix.label" visible></eg-grid-field>