1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 02:27:22 +00:00

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

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: