mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Fix:Mobile series books sortBy filter #1152
This commit is contained in:
parent
2e5e02472c
commit
7008267e42
@ -206,6 +206,7 @@ class LibraryController {
|
|||||||
var sortArray = []
|
var sortArray = []
|
||||||
|
|
||||||
// When on the series page, sort by sequence only
|
// When on the series page, sort by sequence only
|
||||||
|
if (payload.sortBy === 'book.volumeNumber') payload.sortBy = null // TODO: Remove temp fix after mobile release 0.9.60
|
||||||
if (filterSeries && !payload.sortBy) {
|
if (filterSeries && !payload.sortBy) {
|
||||||
sortArray.push({ asc: (li) => li.media.metadata.getSeries(filterSeries).sequence })
|
sortArray.push({ asc: (li) => li.media.metadata.getSeries(filterSeries).sequence })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user