1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-28 22:07:41 +00:00

Update tests

Fixes upload book
This commit is contained in:
Ozzie Isaacs
2021-03-23 18:57:04 +01:00
parent c4f0fc8f7b
commit 2b17bf4114
2 changed files with 4 additions and 2 deletions

View File

@@ -636,6 +636,8 @@ class CalibreDB():
query = query.outerjoin(join[0], join[1]).outerjoin(join[2])
elif len(join) == 2:
query = query.outerjoin(join[0], join[1])
elif len(join) == 1:
query = query.outerjoin(join[0])
query = query.filter(db_filter)\
.filter(self.common_filters(allow_show_archived))
entries = list()