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
-
... ... @@ -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 } ... ... @@ -121,5 +121,4 @@ 121 121 </script> 122 122 123 123 <clb-unified-search></clb-unified-search> 124 - 125 125 {{/html}}