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 <berickxx@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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';
}