| ... |
... |
@@ -51,6 +51,7 @@ |
| 51 |
51 |
} |
| 52 |
52 |
this[roleName] = !this[roleName]; |
| 53 |
53 |
this.filterUrl.searchParams.set('roles', this.rolesFilter.join("+")); |
|
54 |
+ console.log(this.filterUrl.toString()); |
| 54 |
54 |
} |
| 55 |
55 |
setSearchText(e) { |
| 56 |
56 |
this.searchText = e.target.value; |
| ... |
... |
@@ -65,9 +65,8 @@ |
| 65 |
65 |
// request should be built from component, not from "external" dependency. Leave it here like this for POC. |
| 66 |
66 |
handleXWikiSearch(this.searchText).then(results => this.results = results); |
| 67 |
67 |
} |
| 68 |
|
- buildFilter() { |
| 69 |
|
- //https://wiki-dev.ebrains.eu/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&favorite=true&roles= |
| 70 |
|
- } |
|
69 |
+ |
|
70 |
+ |
| 71 |
71 |
getLink(xwikiDocSpace) { |
| 72 |
72 |
return `/bin/view/${xwikiDocSpace.replaceAll('.', '/')}`; |
| 73 |
73 |
} |
| ... |
... |
@@ -121,4 +121,5 @@ |
| 121 |
121 |
</script> |
| 122 |
122 |
|
| 123 |
123 |
<clb-unified-search></clb-unified-search> |
|
124 |
+ |
| 124 |
124 |
{{/html}} |