mirror of
https://github.com/janeczku/calibre-web
synced 2025-09-19 19:24:05 +00:00
Update get_filtered_book call to include archived books.
This commit is contained in:
@@ -329,7 +329,7 @@ def edit_book_read_status(book_id, read_status=None):
|
|||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
calibre_db.create_functions(config)
|
calibre_db.create_functions(config)
|
||||||
book = calibre_db.get_filtered_book(book_id)
|
book = calibre_db.get_filtered_book(book_id, True)
|
||||||
book_read_status = getattr(book, 'custom_column_' + str(config.config_read_column))
|
book_read_status = getattr(book, 'custom_column_' + str(config.config_read_column))
|
||||||
if len(book_read_status):
|
if len(book_read_status):
|
||||||
if read_status is None:
|
if read_status is None:
|
||||||
|
Reference in New Issue
Block a user