Fix #902: search usability issue when browsing artists, albums, radios and playlists
This commit is contained in:
parent
4ce59adcd5
commit
3311a11506
5 changed files with 29 additions and 16 deletions
|
|
@ -154,14 +154,17 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
updateQueryString: _.debounce(function() {
|
||||
this.$router.replace({
|
||||
query: {
|
||||
history.pushState(
|
||||
{},
|
||||
null,
|
||||
this.$route.path + '?' + new URLSearchParams(
|
||||
{
|
||||
query: this.query,
|
||||
page: this.page,
|
||||
paginateBy: this.paginateBy,
|
||||
ordering: this.getOrderingAsString()
|
||||
}
|
||||
})
|
||||
}).toString()
|
||||
)
|
||||
}, 500),
|
||||
fetchData: _.debounce(function() {
|
||||
var self = this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue