Changes for page Context Search
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -63,10 +63,12 @@ 63 63 if(this.searchText !== this.prevSearchText) { 64 64 this.prevSearchText = this.searchText; 65 65 this.fetchWikiSearch().then(results => { 66 - console.log(results); 67 - //this.results = results; 68 68 this.resultsCache = results; 69 - this.fetchFilterSearch().then(this.filterResults); 67 + if(this.hasActiveFilters()) { 68 + this.fetchFilterSearch().then(this.filterResults); 69 + } else { 70 + this.results = results; 71 + } 70 70 }) 71 71 /* 72 72 Promise.all([