shout-link-fix
All checks were successful
Deploy on push / deploy (push) Successful in 1m8s

This commit is contained in:
Untone 2024-06-06 12:37:55 +03:00
parent 7a4c02d11d
commit 76ee4a387c

View File

@ -115,7 +115,7 @@ async def load_authors_by(_, _info, by, limit, offset):
authors_query = ( authors_query = (
authors_query authors_query
.join(ShoutAuthor) .join(ShoutAuthor)
.join(ShoutTopic, ShoutAuthor.topic == ShoutTopic.id) .join(ShoutTopic, ShoutAuthor.shout == ShoutTopic.shout)
.join(Topic, ShoutTopic.topic == Topic.id) .join(Topic, ShoutTopic.topic == Topic.id)
.filter(Topic.slug == str(by["topic"])) .filter(Topic.slug == str(by["topic"]))
) )