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
-
... ... @@ -33,9 +33,13 @@ 33 33 font-size: 12px; 34 34 margin-top: 2em; 35 35 } 36 - .rawResults pre{37 - overflow:scroll;36 + .rawResults > div { 37 + width: 100%; 38 38 } 39 + .rawResults ul { 40 + list-style-type: none; 41 + padding: 0; 42 + } 39 39 `; 40 40 constructor() { 41 41 super(); ... ... @@ -108,6 +108,7 @@ 108 108 resolve(res); 109 109 }); 110 110 } else { 115 + this.collabFiltersResults = res; 111 111 resolve([]); 112 112 } 113 113 }); ... ... @@ -119,6 +119,7 @@ 119 119 clearResults() { 120 120 this.results = []; 121 121 this.resultsCache = []; 127 + this.collabFiltersResults = []; 122 122 } 123 123 getLink(xwikiDocSpace) { 124 124 return `/bin/view/${xwikiDocSpace.replaceAll('.', '/')}`; ... ... @@ -156,7 +156,7 @@ 156 156 </div> 157 157 <div> 158 158 <strong>Collab Search Results (Filters)</strong> 159 - < pre>${this.collabFiltersResults.map((res) => html`<li>${res.name}</li>`)}</pre>165 + <ul>${this.collabFiltersResults.map((res) => html`<li>${res.name}</li>`)}</ul> 160 160 </div> 161 161 </div> 162 162 </div>