mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 09:30:31 +00:00
bugfix books list with selected books and stored on state
This commit is contained in:
parent
bb4749c65b
commit
c0b2e886d2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user