Allow download of archived books

This commit is contained in:
Ozzie Isaacs
2021-12-04 11:16:33 +01:00
parent f4096b136e
commit 91a21ababe
3 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -823,7 +823,7 @@ def get_cc_columns(filter_config_custom_read=False):
def get_download_link(book_id, book_format, client):
book_format = book_format.split(".")[0]
book = calibre_db.get_filtered_book(book_id)
book = calibre_db.get_filtered_book(book_id, allow_show_archived=True)
if book:
data1 = calibre_db.get_book_format(book.id, book_format.upper())
else: