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 31.6
edited by bougault
on 2023/01/11 14:47
Change comment: There is no comment for this version
To version 31.4
edited by bougault
on 2023/01/11 14:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -70,12 +70,11 @@
70 70   this.clearResults();
71 71   this.prevSearchText = this.searchText;
72 72   this.fetchWikiSearch().then(results => {
73 - console.log('results', results);
74 74   //this.resultsCache = results;
75 75   if(this.hasActiveFilters()) {
76 76   this.fetchFilterSearch().then(this.filterResults);
77 77   } else {
78 - this.results = results ? results : [];
77 + this.results = results ? results || [];
79 79   }
80 80   })
81 81   /*} else if (this.searchText === this.prevSearchText && this.hasActiveFilters()) {