query-fix

This commit is contained in:
2024-01-26 04:24:47 +03:00
parent 1b80d596cb
commit 59dec8cad6
2 changed files with 1 additions and 3 deletions

View File

@@ -343,7 +343,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
if topic:
shout_data['main_topic'] = topic
authors = (
session.query(Author)
session.query(Author, ShoutAuthor)
.join(
ShoutTopic,
and_(