Commit c0b2e886 authored by Ozzie Isaacs's avatar Ozzie Isaacs

bugfix books list with selected books and stored on state

parent bb4749c6
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment