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.2
edited by bougault
on 2023/01/11 14:41
Change comment: There is no comment for this version
To version 31.3
edited by bougault
on 2023/01/11 14:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -65,9 +65,8 @@
65 65   this.nb = e.target.value;
66 66   }
67 67   handleSearch(textSearch) {
68 - console.log('search');
69 69   if(this.searchText !== "" || textSearch) {
70 - if(this.searchText !== this.prevSearchText) {
69 + // if(this.searchText !== this.prevSearchText) {
71 71   this.clearResults();
72 72   this.prevSearchText = this.searchText;
73 73   this.fetchWikiSearch().then(results => {
... ... @@ -78,11 +78,12 @@
78 78   this.results = results;
79 79   }
80 80   })
81 - } else if (this.searchText === this.prevSearchText && this.hasActiveFilters()) {
80 + /*} else if (this.searchText === this.prevSearchText && this.hasActiveFilters()) {
82 82   this.fetchFilterSearch().then(this.filterResults)
83 83   } else {
84 84   this.results = this.resultsCache;
85 85   }
85 + */
86 86   } else {
87 87   this.clearResults();
88 88   console.log("no search text, should return filter search results if any");