From 03d134697c66d4b6cb2d6c5d65e0007a9fe7d7d4 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sat, 9 May 2020 16:35:48 +0200 Subject: [PATCH] Fix #1361 (covers of archived books not shown) --- cps/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/helper.py b/cps/helper.py index c89bdf3d..85e48b3f 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -493,7 +493,7 @@ def get_cover_on_failure(use_generic_cover): def get_book_cover(book_id): - book = db.session.query(db.Books).filter(db.Books.id == book_id).filter(common_filters()).first() + book = db.session.query(db.Books).filter(db.Books.id == book_id).filter(common_filters(allow_show_archived=True)).first() return get_book_cover_internal(book, use_generic_cover_on_failure=True)