diff --git a/cps/web.py b/cps/web.py index 44fe2906..0627d490 100644 --- a/cps/web.py +++ b/cps/web.py @@ -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: