search-fix-2

This commit is contained in:
Untone 2024-01-26 18:09:25 +03:00
parent 24da021a62
commit 90f164521b

View File

@ -335,6 +335,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
.options(
joinedload(Shout.authors),
joinedload(Shout.topics),
joinedload(Shout.communities),
)
.where(
and_(Shout.deleted_at.is_(None), Shout.slug.in_(results_dict.keys()))