| ... |
... |
@@ -71,6 +71,16 @@ |
| 71 |
71 |
this.results = results; |
| 72 |
72 |
} |
| 73 |
73 |
}) |
|
74 |
+ /* |
|
75 |
+ Promise.all([ |
|
76 |
+ this.fetchWikiSearch(), |
|
77 |
+ this.fetchFilterSearch() |
|
78 |
+ ]).then(([wikiSearchResults, collabSearchResults]) => { |
|
79 |
+ this.results = wikiSearchResults; |
|
80 |
+ this.resultsCache = wikiSearchResults; |
|
81 |
+ console.log(wikiSearchResults, collabSearchResults); |
|
82 |
+ }); |
|
83 |
+ */ |
| 74 |
74 |
} else if (this.searchText === this.prevSearchText && this.hasActiveFilters()) { |
| 75 |
75 |
this.fetchFilterSearch().then(this.filterResults) |
| 76 |
76 |
} else { |