Fix #902: search usability issue when browsing artists, albums, radios and playlists

This commit is contained in:
Eliot Berriot 2019-09-15 20:17:22 +02:00
parent 4ce59adcd5
commit 3311a11506
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
5 changed files with 29 additions and 16 deletions

View File

@ -0,0 +1 @@
Fixed search usability issue when browsing artists, albums, radios and playlists (#902)

View File

@ -135,15 +135,18 @@ export default {
},
methods: {
updateQueryString: _.debounce(function() {
this.$router.replace({
query: {
history.pushState(
{},
null,
this.$route.path + '?' + new URLSearchParams(
{
query: this.query,
page: this.page,
tag: this.tags,
paginateBy: this.paginateBy,
ordering: this.getOrderingAsString()
}
})
}).toString()
)
}, 500),
fetchData: _.debounce(function() {
var self = this

View File

@ -123,15 +123,18 @@ export default {
},
methods: {
updateQueryString: _.debounce(function() {
this.$router.replace({
query: {
history.pushState(
{},
null,
this.$route.path + '?' + new URLSearchParams(
{
query: this.query,
page: this.page,
tag: this.tags,
paginateBy: this.paginateBy,
ordering: this.getOrderingAsString()
}
})
}).toString()
)
}, 500),
fetchData: _.debounce(function() {
var self = this

View File

@ -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

View File

@ -113,14 +113,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()
)
}, 250),
fetchData: _.debounce(function() {
var self = this