X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fapp.py;h=d34b9df64f83fc6b8521af7364e5b5b19927a67b;hb=8f6c4ccb80b2cf6f2a3f407bdfa45fa1c017ca7f;hp=5d9285e2254912b1f01404d9afaa4cebb41f6489;hpb=ecd2349c26418c8b55ec9e0d17009321b6472236;p=m_librarian.git diff --git a/m_librarian/web/app.py b/m_librarian/web/app.py index 5d9285e..d34b9df 100644 --- a/m_librarian/web/app.py +++ b/m_librarian/web/app.py @@ -156,7 +156,7 @@ def search_books_post(): orderBy=('title',), use_filters=use_filters) books_by_authors = {} for book in books: - author = book.authors[0].fullname + author = book.author1 if author in books_by_authors: books_by_author = books_by_authors[author] else: