FIX: Search does not retrigger when context has changed. Take 2.

https://meta.discourse.org/t/using-the-search-this-topic-check-box-blocks-search-on-other-pages/56832/6?u=tgxworld
This commit is contained in:
Guo Xiang Tan
2018-08-20 15:46:02 +08:00
parent f5fe58384f
commit 658b55c406
4 changed files with 27 additions and 5 deletions

View File

@@ -182,7 +182,6 @@ export default createWidget("search-menu", {
},
html(attrs) {
searchData.contextEnabled = attrs.contextEnabled;
const searchContext = this.searchContext();
const shouldTriggerSearch =