mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-23 01:09:26 +02:00
Update package.json pkg assets, remove njodb and dependencies
This commit is contained in:
parent
b9be7510f8
commit
e85ddc1aa1
22 changed files with 3 additions and 4058 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue