mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-29 11:30:31 +00:00
Re-apply db_filter
Accidentally removed when the language and content filters were moved to `common_filters`.
This commit is contained in:
parent
a8b53ab38a
commit
8e1cfa1cbf
@ -528,7 +528,7 @@ def fill_indexpage(page, database, db_filter, order):
|
||||
pagination = Pagination(page, config.config_books_per_page,
|
||||
len(db.session.query(database)
|
||||
.filter(db_filter).filter(common_filters()).all()))
|
||||
entries = db.session.query(database).filter(common_filters())\
|
||||
entries = db.session.query(database).filter(db_filter).filter(common_filters())\
|
||||
.order_by(order).offset(off).limit(config.config_books_per_page)
|
||||
return entries, random, pagination
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user