search-fix-2
This commit is contained in:
parent
24da021a62
commit
90f164521b
|
@ -335,6 +335,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
|
||||||
.options(
|
.options(
|
||||||
joinedload(Shout.authors),
|
joinedload(Shout.authors),
|
||||||
joinedload(Shout.topics),
|
joinedload(Shout.topics),
|
||||||
|
joinedload(Shout.communities),
|
||||||
)
|
)
|
||||||
.where(
|
.where(
|
||||||
and_(Shout.deleted_at.is_(None), Shout.slug.in_(results_dict.keys()))
|
and_(Shout.deleted_at.is_(None), Shout.slug.in_(results_dict.keys()))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user