| ... |
... |
@@ -27,16 +27,6 @@ |
| 27 |
27 |
a { |
| 28 |
28 |
color: var(--color-brand-primary, blue); |
| 29 |
29 |
} |
| 30 |
|
- .rawResults { |
| 31 |
|
- width: 100%; |
| 32 |
|
- display: flex; |
| 33 |
|
- font-size: 12px; |
| 34 |
|
- margin-top: 2em; |
| 35 |
|
- } |
| 36 |
|
- .rawResults ul { |
| 37 |
|
- list-style-type: none; |
| 38 |
|
- padding: 0; |
| 39 |
|
- } |
| 40 |
40 |
`; |
| 41 |
41 |
constructor() { |
| 42 |
42 |
super(); |
| ... |
... |
@@ -49,7 +49,6 @@ |
| 49 |
49 |
this.filterUrl = new URL(`${document.location.origin}/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&limit=10000&favorite=false&roles=`); |
| 50 |
50 |
this.results = []; |
| 51 |
51 |
this.resultsCache = []; |
| 52 |
|
- this.collabFiltersResults = []; |
| 53 |
53 |
} |
| 54 |
54 |
firstUpdated() { |
| 55 |
55 |
this.renderRoot.getElementById('searchInput').focus(); |
| ... |
... |
@@ -153,11 +153,11 @@ |
| 153 |
153 |
<div class="rawResults"> |
| 154 |
154 |
<div> |
| 155 |
155 |
<strong>XWiki Search Results</strong> |
| 156 |
|
- <ul>${this.resultsCache.map((res) => html`<li>${res.space}</li>`)}</ul> |
|
145 |
+ <pre>${JSON.stringify(this.resultsCache, null, 2)}</pre> |
| 157 |
157 |
</div> |
| 158 |
158 |
<div> |
| 159 |
159 |
<strong>Collab Search Results (Filters)</strong> |
| 160 |
|
- <ul>${this.collabFiltersResults.map((res) => html`<li>${res.name}</li>`)}</ul> |
|
149 |
+ <pre>${JSON.stringify(this.collabFiltersResults, null, 2)}</pre> |
| 161 |
161 |
</div> |
| 162 |
162 |
</div> |
| 163 |
163 |
</div> |