Bugfix book list with language restriction or archived books

This commit is contained in:
Ozzie Isaacs 2021-10-16 20:43:22 +02:00
parent e060c62742
commit 6f1e78b9a3
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ def list_books():
elif not state:
order = [db.Books.timestamp.desc()]
total_count = filtered_count = calibre_db.session.query(db.Books).count()
total_count = filtered_count = calibre_db.session.query(db.Books).filter(calibre_db.common_filters(False)).count()
if state is not None:
if search: