From 40084c4072abb71b12c8d27fe74858db5bca3105 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Thu, 26 Sep 2019 12:25:36 -0600 Subject: [PATCH] Don't collapse search options --- app/views/search/controller.js | 1 - app/views/search/index.js | 149 +++++++++++++++------------------ 2 files changed, 67 insertions(+), 83 deletions(-) diff --git a/app/views/search/controller.js b/app/views/search/controller.js index c3c2255..fbd7b54 100644 --- a/app/views/search/controller.js +++ b/app/views/search/controller.js @@ -6,7 +6,6 @@ export class SearchController extends ViewController { // which stores state in this.appState and the view controller's state to this.state super(state, i18n, 'search', { lastSearch: '', - expandSearchOptions: false, searchSource: 'inventaire', searchBy: 'title', done: true, diff --git a/app/views/search/index.js b/app/views/search/index.js index d22280f..475496c 100644 --- a/app/views/search/index.js +++ b/app/views/search/index.js @@ -44,91 +44,76 @@ export const searchView = (state, emit, i18n) => { `, // Search Options Section - html`
-
-
-

Search Options

-
-
- -
-
-
-
- ${modal('searchSourceInfo', controller, [ - html`

- This refers to where the search tries to look for data. -

`, - html``, - ], { - buttonText: 'What\'s This?', - buttonClasses: 'small marginless pseudo button pull-right', - headerText: 'What does "Search Source" mean?', - })} -
+
+ Search By
+ -
-
- Search By
- - -
-
+ +
`, // Search Results section