Fix #1197: Ensure search page reloads if another search is submitted in the sidebar
This commit is contained in:
parent
6bd77f24d6
commit
af2bdc0591
|
@ -0,0 +1 @@
|
||||||
|
Ensure search page reloads if another search is submitted in the sidebar (#1197)
|
|
@ -231,6 +231,11 @@ export default {
|
||||||
async page () {
|
async page () {
|
||||||
this.updateQueryString()
|
this.updateQueryString()
|
||||||
await this.search()
|
await this.search()
|
||||||
|
},
|
||||||
|
"$route.query.q": async function (v) {
|
||||||
|
this.query = v
|
||||||
|
this.updateQueryString()
|
||||||
|
await this.search()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue