Merge branch '1197-search' into 'develop'

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

Closes #1197

See merge request funkwhale/funkwhale!1211
This commit is contained in:
Agate 2020-08-23 17:09:53 +02:00
commit f2305745cb
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()
}
}
}