| ... |
... |
@@ -41,7 +41,7 @@ |
| 41 |
41 |
this.editor = false; |
| 42 |
42 |
this.viewer = false; |
| 43 |
43 |
this.rolesFilter = []; |
| 44 |
|
- this.filterUrl = new URL(`${document.location.origin}/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&favorite=false&roles=`); |
|
44 |
+ this.filterUrl = new URL(`${document.location.origin}/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&limit=10000&favorite=false&roles=`); |
| 45 |
45 |
this.results = []; |
| 46 |
46 |
} |
| 47 |
47 |
toggleRoleFilter(roleName) { |
| ... |
... |
@@ -51,6 +51,7 @@ |
| 51 |
51 |
this.rolesFilter.filter(role => role !== roleName); |
| 52 |
52 |
} |
| 53 |
53 |
this[roleName] = !this[roleName]; |
|
54 |
+ console.log(this.rolesFilter); |
| 54 |
54 |
this.filterUrl.searchParams.set('roles', this.rolesFilter.join("+")); |
| 55 |
55 |
this.handleSearch(); |
| 56 |
56 |
} |