bugfix books list with selected books and stored on state

This commit is contained in:
Ozzie Isaacs 2021-04-21 19:28:22 +02:00
parent bb4749c65b
commit c0b2e886d2
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ def list_books():
if state:
if search:
books = calibre_db.search_query(search)
books = calibre_db.search_query(search).all()
filtered_count = len(books)
else:
books = calibre_db.session.query(db.Books).filter(calibre_db.common_filters()).all()