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

environments/review-front-872-onphyn/deployments/2632
Eliot Berriot 2019-09-15 20:17:22 +02:00
rodzic 4ce59adcd5
commit 3311a11506
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
5 zmienionych plików z 29 dodań i 16 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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