From 20bd496d46b2bbb24206410a803f29d351ef5c76 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 5 Jan 2021 14:09:36 -0500 Subject: [PATCH] LP1908619 Adjustments to Staff Search Preferences Page Change 'Catalog Preferences' to 'Search Preferences' and add a Return button at the bottom to make it more obvious how to get out of the interface. Signed-off-by: Terran McCanna Signed-off-by: Jennifer Bruch Signed-off-by: Galen Charlton --- .../app/staff/catalog/basket-actions.component.html | 2 +- .../src/eg2/src/app/staff/catalog/prefs.component.html | 10 +++++++++- .../src/eg2/src/app/staff/catalog/prefs.component.ts | 8 ++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.html index 7014944d49..baf2814bae 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.html @@ -42,7 +42,7 @@ - + diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.html index a3a595a7d0..abe932c840 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.html @@ -1,6 +1,6 @@ - + @@ -103,3 +103,11 @@ Add the 'Exclude Electronic Resources' checkbox to the main search form. +
+
+ +
+
\ No newline at end of file diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.ts index a186fc81ed..a76955effc 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.ts @@ -79,5 +79,13 @@ export class PreferencesComponent implements OnInit { .then(_ => this.toast.success(this.successMsg.text)) .then(_ => value); } + + hasNoHistory(): boolean { + return history.length === 0; + } + + goBack() { + history.back(); + } } -- 2.43.2