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:
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