[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 33bcca75de4c7ef7c4582ca2771718299423a091

Evergreen Git git at git.evergreen-ils.org
Wed Aug 14 10:13:50 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_3 has been updated
       via  33bcca75de4c7ef7c4582ca2771718299423a091 (commit)
      from  548601ece159a628829ef3ca8126ffe96c7ca01e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 33bcca75de4c7ef7c4582ca2771718299423a091
Author: Bill Erickson <berickxx at gmail.com>
Date:   Fri Aug 9 10:21:53 2019 -0400

    LP1839548 Angular catalog holds patron barcode link
    
    Holds grid on record detail page now present the patron barcode as a
    link to the patron UI.
    
    Related, this fixes the URL in the link for the copy barcode.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html
index db3d31b25a..ff48c01ac0 100644
--- a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html
+++ b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html
@@ -83,7 +83,7 @@
       </eg-grid-column>
 
       <ng-template #barcodeTmpl let-hold="row">
-        <a href="/eg/staff/cat/item/{{cp_id}}/summary">
+        <a href="/eg/staff/cat/item/{{hold.cp_id}}/summary">
           {{hold.cp_barcode}}
         </a>
       </ng-template>
@@ -91,8 +91,14 @@
         [cellTemplate]="barcodeTmpl">
       </eg-grid-column>
 
-      <eg-grid-column i18n-label label="Patron Barcode"
-          path='ucard_barcode' [hidden]="true"></eg-grid-column>
+      <ng-template #userBarcodeTmpl let-hold="row">
+        <a href="/eg/staff/circ/patron/{{hold.usr_id}}/checkout">
+          {{hold.ucard_barcode}}
+        </a>
+      </ng-template>
+      <eg-grid-column i18n-label label="Patron Barcode" 
+        [cellTemplate]="userBarcodeTmpl" [hidden]="true"></eg-grid-column>
+
       <eg-grid-column i18n-label label="Patron alias" path="usr_alias"></eg-grid-column>
       <eg-grid-column i18n-label label="Request Date"
           path='request_time' datatype="timestamp"></eg-grid-column>

-----------------------------------------------------------------------

Summary of changes:
 .../src/eg2/src/app/staff/share/holds/grid.component.html    | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list