mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-27 10:52:47 +01:00
Add green finished line for series #454
This commit is contained in:
1 parent
7f3543400a
commit
f781fa9e6b
2 files changed
+16
-7
No files matched your search
@@ -224,12 +224,7 @@ class LibraryController {
|
||||
}
|
||||
|
||||
var series = libraryHelpers.getSeriesFromBooks(libraryItems, payload.minified)
|
||||
|
||||
var sortingIgnorePrefix = this.db.serverSettings.sortingIgnorePrefix
|
||||
series = sort(series).asc(s => {
|
||||
if (sortingIgnorePrefix && s.name.toLowerCase().startsWith('the ')) {
|
||||
return s.name.substr(4)
|
||||
}
|
||||
return s.name
|
||||
})
|
||||
payload.total = series.length
|
||||
|
||||
Reference in new issue
Block a user