Changes for page Context Search
Last modified by bougault on 2023/02/20 16:29
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,9 +18,6 @@ 18 18 privateFilter: { type: Boolean }, 19 19 } 20 20 */ 21 - static properties = { 22 - results: { type: Array } 23 - } 24 24 constructor() { 25 25 super(); 26 26 this.searchText = ""; ... ... @@ -68,15 +68,6 @@ 68 68 <label><input type="checkbox" @change="${() => this.toggleRoleFilter('editor')}" .checked="${this.editorFilter}"/> Editor</label> 69 69 <label><input type="checkbox" @change="${() => this.toggleRoleFilter('viewer')}" .checked="${this.viewerFilter}"/> Viewer</label> 70 70 </div> 71 - <div> 72 - ${this.results.map(result => html` 73 - <div> 74 - <a href="#">${result.title_}</a> 75 - <div>${result.id}</div> 76 - <div>${result.doccontent_.substring(0, 150)} 77 - </div> 78 - `)} 79 - </div> 80 80 </div> 81 81 ` 82 82 }