mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-28 03:30:37 +02:00
add sorting to author page
This commit is contained in:
parent
432e25565e
commit
e2bb0cfb7c
4 changed files with 56 additions and 2 deletions
|
@ -636,6 +636,7 @@ class LibraryController {
|
|||
for (const author of authors) {
|
||||
const oldAuthor = author.getOldAuthor().toJSON()
|
||||
oldAuthor.numBooks = author.books.length
|
||||
oldAuthor.lastFirst = author.lastFirst
|
||||
oldAuthors.push(oldAuthor)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue