- 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 <khuckins@catalyte.io>
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 <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
persistKey="cat.vandelay.queue.list.auth"
(onRowActivate)="rowActivated($event)"
idlClass="vaq" [dataSource]="queueSource">
+ <eg-grid-toolbar-action label="Delete Selected" i18n-label
+ [action]="deleteSelected"></eg-grid-toolbar-action>
</eg-grid>
</ng-template>
<ng-template #importedAsTmpl let-row="row">
- <a routerLink="/staff/catalog/record/{{row.imported_as}}">
+ <a *ngIf="queueType=='bib'" routerLink="/staff/catalog/record/{{row.imported_as}}">
{{row.imported_as}}
</a>
+ <a *ngIf="queueType=='auth'" href="/eg/staff/cat/catalog/authority/{{row.imported_as}}/marc_edit">
+ {{row.imported_as}}
+ </a>
+
</ng-template>
}
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]);