mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-24 17:10:31 +00:00
Bugfix book list with language restriction or archived books
This commit is contained in:
parent
e060c62742
commit
6f1e78b9a3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user