mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-10 15:47:35 +02:00
Update package.json pkg assets, remove njodb and dependencies
This commit is contained in:
@ -252,11 +252,7 @@ class LibraryController {
|
||||
}
|
||||
|
||||
if (payload.sortBy) {
|
||||
// old sort key TODO: should be mutated in dbMigration
|
||||
let sortKey = payload.sortBy
|
||||
if (sortKey.startsWith('book.')) {
|
||||
sortKey = sortKey.replace('book.', 'media.metadata.')
|
||||
}
|
||||
|
||||
// Handle server setting sortingIgnorePrefix
|
||||
const sortByTitle = sortKey === 'media.metadata.title'
|
||||
|
Reference in New Issue
Block a user