Remove some things causing problems in Search

This commit is contained in:
Robbie Antenesse 2020-06-14 14:11:30 -06:00
parent 574a582e29
commit bb60fefd08
2 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,6 @@ export const searchView = (state, emit, i18n) => {
} }
// Returning an array in a view allows non-shared parent HTML elements. // Returning an array in a view allows non-shared parent HTML elements.
// This one doesn't have the problem right now, but it's good to remember.
return [ return [
html`<h1 class="title">${__('search.header')}</h1>`, html`<h1 class="title">${__('search.header')}</h1>`,
@ -45,7 +44,7 @@ export const searchView = (state, emit, i18n) => {
// Search Options Section // Search Options Section
html`<section class="flex one two-700"> html`<section class="flex one two-700">
<div> ${/*<div>
${modal('searchSourceInfo', controller, [ ${modal('searchSourceInfo', controller, [
html`<p> html`<p>
${__('search.search_source.help.text')} ${__('search.search_source.help.text')}
@ -91,7 +90,8 @@ export const searchView = (state, emit, i18n) => {
</option> </option>
</select> </select>
</label> </label>
</div> </div>*/'' // Temporarily comment out the source chooser so I can focus on just Inventaire
}
<div> <div>
${__('search.search_by.label')}<br> ${__('search.search_by.label')}<br>

View File

@ -76,7 +76,8 @@ class SearchController {
let extraReferences = []; let extraReferences = [];
if (urisToCheck.length > 0) { if (urisToCheck.length > 0) {
extraReferences = await this.searchReferencesBySourceCodes(source, urisToCheck); // Need to figure this out
// extraReferences = await this.searchReferencesBySourceCodes(source, urisToCheck);
} }
return [ return [
...bookReferences, ...bookReferences,