Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

Context Search - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page Context Search

Last modified by bougault on 2023/02/20 16:29

From version 27.37
edited by bougault
on 2022/11/17 13:50
Change comment: There is no comment for this version
To version 27.38
edited by bougault
on 2022/11/17 13:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -43,6 +43,7 @@
43 43   this.rolesFilter = [];
44 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 + this.resultsCache = [];
46 46   }
47 47   toggleRoleFilter(roleName) {
48 48   if(this.rolesFilter.indexOf(roleName) === -1) {
... ... @@ -61,8 +61,6 @@
61 61  
62 62   if(this.searchText !== "") {
63 63   if(this.searchText !== this.prevSearchText) {
64 - console.log("1st")
65 - console.log(this.searchText, this.prevSearchText);
66 66   this.prevSearchText = this.searchText;
67 67   Promise.all([
68 68   this.fetchWikiSearch(),
... ... @@ -69,6 +69,7 @@
69 69   this.fetchFilterSearch()
70 70   ]).then(([wikiSearchResults, collabSearchResults]) => {
71 71   this.results = wikiSearchResults;
71 + this.resultsCache = wikiSearchResults;
72 72   console.log(wikiSearchResults, collabSearchResults);
73 73   });
74 74   } else if (this.searchText === this.prevSearchText && this.hasActiveFilters()) {