X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fweb%2Fapp.py;h=78878a11df47845d740ac6af025779e8e343f5f8;hb=eccf120322c43466764ab11dfa28db008543995e;hp=d34b9df64f83fc6b8521af7364e5b5b19927a67b;hpb=2b16262ac311954a5c46cb4b9e23a447aeccf0b9;p=m_librarian.git diff --git a/m_librarian/web/app.py b/m_librarian/web/app.py index d34b9df..78878a1 100644 --- a/m_librarian/web/app.py +++ b/m_librarian/web/app.py @@ -79,7 +79,7 @@ def books_by_author(id): join_expressions.append(Book.j.authors) join_expressions.append(Author.q.id == id) books = search_books('full', None, {}, join_expressions, - orderBy=('series', 'ser_no', 'title'), + orderBy=('series', 'ser_no', 'title', '-date'), use_filters=use_filters) return { 'author': Author.get(id),