mirror of
				https://gitlab.com/Alamantus/Readlebee.git
				synced 2025-11-04 02:07:11 +01:00 
			
		
		
		
	Remove some things causing problems in Search
This commit is contained in:
		
							parent
							
								
									574a582e29
								
							
						
					
					
						commit
						bb60fefd08
					
				
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,6 @@ export const searchView = (state, emit, i18n) => {
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  // 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 [
 | 
			
		||||
    html`<h1 class="title">${__('search.header')}</h1>`,
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -45,7 +44,7 @@ export const searchView = (state, emit, i18n) => {
 | 
			
		|||
 | 
			
		||||
    // Search Options Section
 | 
			
		||||
    html`<section class="flex one two-700">
 | 
			
		||||
      <div>
 | 
			
		||||
      ${/*<div>
 | 
			
		||||
        ${modal('searchSourceInfo', controller, [
 | 
			
		||||
          html`<p>
 | 
			
		||||
            ${__('search.search_source.help.text')}
 | 
			
		||||
| 
						 | 
				
			
			@ -91,7 +90,8 @@ export const searchView = (state, emit, i18n) => {
 | 
			
		|||
            </option>
 | 
			
		||||
          </select>
 | 
			
		||||
        </label>
 | 
			
		||||
      </div>
 | 
			
		||||
      </div>*/'' // Temporarily comment out the source chooser so I can focus on just Inventaire
 | 
			
		||||
      }
 | 
			
		||||
      <div>
 | 
			
		||||
          ${__('search.search_by.label')}<br>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -76,7 +76,8 @@ class SearchController {
 | 
			
		|||
 | 
			
		||||
    let extraReferences = [];
 | 
			
		||||
    if (urisToCheck.length > 0) {
 | 
			
		||||
      extraReferences = await this.searchReferencesBySourceCodes(source, urisToCheck);
 | 
			
		||||
      // Need to figure this out
 | 
			
		||||
      // extraReferences = await this.searchReferencesBySourceCodes(source, urisToCheck);
 | 
			
		||||
    }
 | 
			
		||||
    return [
 | 
			
		||||
      ...bookReferences,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue