From 449df5977e71c212f0b2d533971f434a59ca4b2f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 8 Dec 2020 12:33:13 -0800 Subject: [PATCH] LP1907286 Staff catalog sets last retrieved record Navigating to the detail page for a bib record in the Angular Staff Catalog now correctly sets the value for the 'eg.cat.last_record_retrieved' local storage item, allowing Retrieve Last Bib Record to work as expected. Signed-off-by: Bill Erickson Signed-off-by: Garry Collum Signed-off-by: Galen Charlton --- .../src/eg2/src/app/staff/catalog/record/record.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.ts index fc7ba54ea1..80e6e19e46 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.ts @@ -66,6 +66,8 @@ export class RecordComponent implements OnInit { this.recordId = +params.get('id'); this.searchContext = this.staffCat.searchContext; + this.store.setLocalItem('eg.cat.last_record_retrieved', this.recordId); + if (!this.recordTab) { this.recordTab = this.defaultTab || 'item_table'; } -- 2.43.2