Fix #1197: Ensure search page reloads if another search is submitted in the sidebar

This commit is contained in:
Agate 2020-08-23 17:04:43 +02:00
parent 6bd77f24d6
commit af2bdc0591
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
Ensure search page reloads if another search is submitted in the sidebar (#1197)

View File

@ -231,6 +231,11 @@ export default {
async page () {
this.updateQueryString()
await this.search()
},
"$route.query.q": async function (v) {
this.query = v
this.updateQueryString()
await this.search()
}
}
}