mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-21 08:01:34 +01:00
Add secondary sort by series sort title when sorting by author #274
This commit is contained in:
1 parent
d4525ad5ca
commit
1b79b3f42d
2 files changed
+26
-4
No files matched your search
@@ -162,6 +162,11 @@ class BookMetadata {
|
||||
if (!series) return null
|
||||
return series.sequence || ''
|
||||
}
|
||||
getSeriesSortTitle(series) {
|
||||
if (!series) return ''
|
||||
if (!series.sequence) return series.name
|
||||
return `${series.name} #${series.sequence}`
|
||||
}
|
||||
|
||||
update(payload) {
|
||||
var json = this.toJSON()
|
||||
|
||||
Reference in new issue
Block a user