| ... |
... |
@@ -48,7 +48,6 @@ |
| 48 |
48 |
this.filterUrl = new URL(`${document.location.origin}/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&limit=10000&favorite=false&roles=`); |
| 49 |
49 |
this.results = []; |
| 50 |
50 |
this.resultsCache = []; |
| 51 |
|
- this.collabFiltersResults = []; |
| 52 |
52 |
} |
| 53 |
53 |
firstUpdated() { |
| 54 |
54 |
this.renderRoot.getElementById('searchInput').focus(); |
| ... |
... |
@@ -152,11 +152,11 @@ |
| 152 |
152 |
<div class="rawResults"> |
| 153 |
153 |
<div> |
| 154 |
154 |
<strong>XWiki Search Results</strong> |
| 155 |
|
- <ul>${this.resultsCache.map((res) => html`<li>${res.space}</li>`)}</ul> |
|
154 |
+ <pre>${JSON.stringify(this.resultsCache, null, 2)}</pre> |
| 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> |
|
158 |
+ <pre>${JSON.stringify(this.collabFiltersResults, null, 2)}</pre> |
| 160 |
160 |
</div> |
| 161 |
161 |
</div> |
| 162 |
162 |
</div> |