From: Galen Charlton Date: Tue, 30 Nov 2021 16:54:42 +0000 (-0500) Subject: LP#1942220: tweak LI actions around viewing/updating items X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e856a70eea44c8de3a052ce09792d2a22fa3673d;p=working%2FEvergreen.git LP#1942220: tweak LI actions around viewing/updating items - Added "Update Barcodes" as a new LI action that opens the item attributes editor - Changed the "Holdings Maintenance" LI action to open the record holdings view page rather than spawning the item attributes editor, making it match the behavior of the "Holdings Maint." LI action in the Dojo interface. Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html index afca18d4d6..3942049f91 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html @@ -452,7 +452,9 @@ + (click)="editHoldings(li)" i18n>Update Barcodes + View History diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.ts index 592c07cc41..515e236c5e 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.ts @@ -619,6 +619,10 @@ export class LineitemListComponent implements OnInit { ); } + jumpToHoldings(li: IdlObject) { + window.open('/eg2/staff/catalog/record/' + li.eg_bib_id() + '/holdings', '_blank'); + } + receiveSelected() { this.markReceived(this.selectedIds()); }