mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 18:59:25 +02:00
This commit is contained in:
parent
f15be4c96e
commit
3be32a2813
5 changed files with 51 additions and 12 deletions
|
@ -214,7 +214,7 @@ class LibraryController {
|
|||
|
||||
var sortingIgnorePrefix = this.db.serverSettings.sortingIgnorePrefix
|
||||
series = sort(series).asc(s => {
|
||||
if (sortingIgnorePrefix && s.name.toLowerCase().startsWith('the')) {
|
||||
if (sortingIgnorePrefix && s.name.toLowerCase().startsWith('the ')) {
|
||||
return s.name.substr(4)
|
||||
}
|
||||
return s.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue