Fix #902: search usability issue when browsing artists, albums, radios and playlists
This commit is contained in:
parent
4ce59adcd5
commit
3311a11506
|
@ -0,0 +1 @@
|
||||||
|
Fixed search usability issue when browsing artists, albums, radios and playlists (#902)
|
|
@ -135,15 +135,18 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateQueryString: _.debounce(function() {
|
updateQueryString: _.debounce(function() {
|
||||||
this.$router.replace({
|
history.pushState(
|
||||||
query: {
|
{},
|
||||||
|
null,
|
||||||
|
this.$route.path + '?' + new URLSearchParams(
|
||||||
|
{
|
||||||
query: this.query,
|
query: this.query,
|
||||||
page: this.page,
|
page: this.page,
|
||||||
tag: this.tags,
|
tag: this.tags,
|
||||||
paginateBy: this.paginateBy,
|
paginateBy: this.paginateBy,
|
||||||
ordering: this.getOrderingAsString()
|
ordering: this.getOrderingAsString()
|
||||||
}
|
}).toString()
|
||||||
})
|
)
|
||||||
}, 500),
|
}, 500),
|
||||||
fetchData: _.debounce(function() {
|
fetchData: _.debounce(function() {
|
||||||
var self = this
|
var self = this
|
||||||
|
|
|
@ -123,15 +123,18 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateQueryString: _.debounce(function() {
|
updateQueryString: _.debounce(function() {
|
||||||
this.$router.replace({
|
history.pushState(
|
||||||
query: {
|
{},
|
||||||
|
null,
|
||||||
|
this.$route.path + '?' + new URLSearchParams(
|
||||||
|
{
|
||||||
query: this.query,
|
query: this.query,
|
||||||
page: this.page,
|
page: this.page,
|
||||||
tag: this.tags,
|
tag: this.tags,
|
||||||
paginateBy: this.paginateBy,
|
paginateBy: this.paginateBy,
|
||||||
ordering: this.getOrderingAsString()
|
ordering: this.getOrderingAsString()
|
||||||
}
|
}).toString()
|
||||||
})
|
)
|
||||||
}, 500),
|
}, 500),
|
||||||
fetchData: _.debounce(function() {
|
fetchData: _.debounce(function() {
|
||||||
var self = this
|
var self = this
|
||||||
|
|
|
@ -154,14 +154,17 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateQueryString: _.debounce(function() {
|
updateQueryString: _.debounce(function() {
|
||||||
this.$router.replace({
|
history.pushState(
|
||||||
query: {
|
{},
|
||||||
|
null,
|
||||||
|
this.$route.path + '?' + new URLSearchParams(
|
||||||
|
{
|
||||||
query: this.query,
|
query: this.query,
|
||||||
page: this.page,
|
page: this.page,
|
||||||
paginateBy: this.paginateBy,
|
paginateBy: this.paginateBy,
|
||||||
ordering: this.getOrderingAsString()
|
ordering: this.getOrderingAsString()
|
||||||
}
|
}).toString()
|
||||||
})
|
)
|
||||||
}, 500),
|
}, 500),
|
||||||
fetchData: _.debounce(function() {
|
fetchData: _.debounce(function() {
|
||||||
var self = this
|
var self = this
|
||||||
|
|
|
@ -113,14 +113,17 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateQueryString: _.debounce(function() {
|
updateQueryString: _.debounce(function() {
|
||||||
this.$router.replace({
|
history.pushState(
|
||||||
query: {
|
{},
|
||||||
|
null,
|
||||||
|
this.$route.path + '?' + new URLSearchParams(
|
||||||
|
{
|
||||||
query: this.query,
|
query: this.query,
|
||||||
page: this.page,
|
page: this.page,
|
||||||
paginateBy: this.paginateBy,
|
paginateBy: this.paginateBy,
|
||||||
ordering: this.getOrderingAsString()
|
ordering: this.getOrderingAsString()
|
||||||
}
|
}).toString()
|
||||||
})
|
)
|
||||||
}, 250),
|
}, 250),
|
||||||
fetchData: _.debounce(function() {
|
fetchData: _.debounce(function() {
|
||||||
var self = this
|
var self = this
|
||||||
|
|
Loading…
Reference in New Issue