[open-ils-commits] [GIT] Evergreen ILS branch master updated. 3433d29e2e1f3023c71eef2d59e5b5bf227f2135

Evergreen Git git at git.evergreen-ils.org
Wed Aug 14 10:13:28 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, master has been updated
       via  3433d29e2e1f3023c71eef2d59e5b5bf227f2135 (commit)
      from  d97b45cd96a293ba3f2c8e406ea19f1bb2aa0616 (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 3433d29e2e1f3023c71eef2d59e5b5bf227f2135
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 6b609303ea..d049c28019 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