Fix #1197: Ensure search page reloads if another search is submitted in the sidebar
This commit is contained in:
parent
6bd77f24d6
commit
af2bdc0591
2 changed files with 6 additions and 0 deletions
1
changes/changelog.d/1197.bugfix
Normal file
1
changes/changelog.d/1197.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Ensure search page reloads if another search is submitted in the sidebar (#1197)
|
||||
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue