Add available types field

This commit is contained in:
2021-11-21 14:17:44 +03:00
parent e504fc4cc8
commit 66a166a72a
4 changed files with 14 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ class BookTGRMSearchService(TRGMSearchService):
FIELDS = [
BookDB.Meta.table.c.title
]
PREFETCH_RELATED = ["source"]
PREFETCH_RELATED = ["source", "authors"]
FILTERS = [
BookDB.Meta.table.c.is_deleted == False,
]