From 3d4547b4533aa2c2f1570c7e54c3c7a57f01c8c9 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 30 Nov 2021 11:54:42 -0500 Subject: [PATCH] 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 --- .../src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.html | 4 +++- .../src/eg2/src/app/staff/acq/lineitem/lineitem-list.component.ts | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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()); } -- 2.11.0