From: Terran McCanna Date: Tue, 5 Jan 2021 19:09:36 +0000 (-0500) Subject: LP1908619 Adjustments to Staff Search Preferences Page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=20bd496d46b2bbb24206410a803f29d351ef5c76;p=evergreen%2Fpines.git 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 --- 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(); + } }