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:
|
elif not state:
|
||||||
order = [db.Books.timestamp.desc()]
|
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 state is not None:
|
||||||
if search:
|
if search:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user