Makes it so the when sorting and ignoring prefixes, they are actually ignored

This commit is contained in:
Scott Ruoti
2022-11-03 00:14:07 -04:00
parent c6e9fe6513
commit 473257f65e
6 changed files with 45 additions and 32 deletions

View File

@ -288,7 +288,7 @@ class LibraryController {
} else if (payload.sortBy === 'addedAt') {
return se.addedAt
} else { // sort by name
return this.db.serverSettings.sortingIgnorePrefix ? se.nameIgnorePrefix : se.name
return this.db.serverSettings.sortingIgnorePrefix ? se.nameIgnorePrefixSort : se.name
}
}
}