mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-10 14:04:41 +02:00
Fix:Series page sort order by name #925
This commit is contained in:
parent
6b164bdb27
commit
dc8178769b
1 changed files with 7 additions and 1 deletions
|
@ -367,8 +367,14 @@ export default {
|
||||||
this.handleScroll(scrollTop)
|
this.handleScroll(scrollTop)
|
||||||
},
|
},
|
||||||
buildSearchParams() {
|
buildSearchParams() {
|
||||||
if (this.page === 'search' || this.page === 'series' || this.page === 'collections') {
|
if (this.page === 'search' || this.page === 'collections') {
|
||||||
return ''
|
return ''
|
||||||
|
} else if (this.page === 'series') {
|
||||||
|
// Sort by name ascending
|
||||||
|
let searchParams = new URLSearchParams()
|
||||||
|
searchParams.set('sort', 'name')
|
||||||
|
searchParams.set('desc', 0)
|
||||||
|
return searchParams.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
let searchParams = new URLSearchParams()
|
let searchParams = new URLSearchParams()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue