LP1909681 Open hold grid links in new tab
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 31 Dec 2021 18:37:09 +0000 (13:37 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 24 Mar 2022 17:31:00 +0000 (13:31 -0400)
This updates the holds grid used by Hopeless Holds, the Holds Pull
List, and the staff catalog record View Holds tab.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html

index 8912709..5dde2e3 100644 (file)
       <eg-grid-column i18n-label label="Part label" path='p_label' [hidden]="true"></eg-grid-column>
       <eg-grid-column i18n-label label="Author" path='author' [hidden]="true"></eg-grid-column>
       <ng-template #titleTmpl let-hold="row">
-        <a class="no-href" routerLink="/staff/catalog/record/{{hold.record_id}}">
+        <a class="no-href" routerLink="/staff/catalog/record/{{hold.record_id}}" target="_blank">
           {{hold.title}}
         </a>
       </ng-template>
         [cellTemplate]="titleTmpl"></eg-grid-column>
 
       <ng-template #barcodeTmpl let-hold="row" let-col="col">
-        <a href="/eg/staff/cat/item/{{hold.cp_id}}/summary">
+        <a href="/eg/staff/cat/item/{{hold.cp_id}}/summary" target="_blank">
           <ng-container *ngIf="col.name == 'current_item' && hold.current_copy">
             {{hold.cp_barcode}}
           </ng-container>
         datatype="timestamp" [datePlusTime]="true"></eg-grid-column>
 
       <ng-template #userBarcodeTmpl let-hold="row">
-        <a href="/eg/staff/circ/patron/{{hold.usr_id}}/checkout">
+        <a href="/eg/staff/circ/patron/{{hold.usr_id}}/checkout" target="_blank">
           {{hold.ucard_barcode}}
         </a>
       </ng-template>