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