From e410ff490e92f8fffe661b6be8512c2b7984c0d4 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