1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-13 08:16:01 +00:00

Update get_filtered_book call to include archived books.

This commit is contained in:
rjaakke
2025-08-18 20:31:31 +02:00
parent 91e36b2c7e
commit b632f1b9a2

View File

@@ -329,7 +329,7 @@ def edit_book_read_status(book_id, read_status=None):
else:
try:
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))
if len(book_read_status):
if read_status is None: