mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 22:57:16 +02:00
Fix:Series page sort order by name #925
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user