From 169cd66fe4589ff742511aa8e2bbc353f6b1c253 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Tue, 18 Dec 2018 22:57:21 +0000 Subject: [PATCH] lp1779158 Inspect Queue Improvements - Add "Delete selected" option to Authority Queues - Change Queuetype to 'authority' from 'auth' when selecting single record to view in auth record queue. - Ensure "Imported As" link correctly navigates to Auth record view for Auth Queues Signed-off-by: Kyle Huckins Changes to be committed: modified: Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-list.component.html modified: Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html modified: Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.ts Signed-off-by: Bill Erickson Signed-off-by: Dan Wells --- .../src/eg2/src/app/staff/cat/vandelay/queue-list.component.html | 2 ++ Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html | 6 +++++- Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.ts | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-list.component.html b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-list.component.html index 6aface5418..badc6df9e4 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-list.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue-list.component.html @@ -31,6 +31,8 @@ persistKey="cat.vandelay.queue.list.auth" (onRowActivate)="rowActivated($event)" idlClass="vaq" [dataSource]="queueSource"> + diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html index bd991070ef..5584700eed 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html @@ -111,9 +111,13 @@ - + {{row.imported_as}} + + {{row.imported_as}} + + diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.ts index 034f39acb5..1b75f563ce 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.ts @@ -96,6 +96,9 @@ export class QueueComponent implements OnInit, AfterViewInit { } openRecord(row: any) { + if (this.queueType == 'auth') { + this.queueType = 'authority'; + } const url = `/staff/cat/vandelay/queue/${this.queueType}/${this.queueId}/record/${row.id}/marc`; this.router.navigate([url]); -- 2.11.0