add sorting to author page

This commit is contained in:
KeyboardHammer committed 2024-02-03 21:48:35 -06:00
1 parent 432e25565e
commit e2bb0cfb7c
4 files changed
+56 -2

No files matched your search

+1
View File
@@ -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)
}