diff --git a/app/views/search/controller.js b/app/views/search/controller.js index dde4203..5e830b2 100644 --- a/app/views/search/controller.js +++ b/app/views/search/controller.js @@ -6,6 +6,9 @@ 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, results: { humans: [], diff --git a/app/views/search/index.js b/app/views/search/index.js index a3b0ebd..44b6928 100644 --- a/app/views/search/index.js +++ b/app/views/search/index.js @@ -2,6 +2,7 @@ import html from 'choo/html'; import { SearchController } from './controller'; // The controller for this view, where processing should happen. import { resultDetails } from './resultDetails'; +import { modal } from '../partials/modal'; // This is the view function that is exported and used in the view manager. export const searchView = (state, emit, i18n) => { @@ -42,32 +43,88 @@ export const searchView = (state, emit, i18n) => { `, + // Search Options Section html`
-
+

Search Options

- +
-