This commit is contained in:
parent
7a4c02d11d
commit
76ee4a387c
|
@ -115,7 +115,7 @@ async def load_authors_by(_, _info, by, limit, offset):
|
|||
authors_query = (
|
||||
authors_query
|
||||
.join(ShoutAuthor)
|
||||
.join(ShoutTopic, ShoutAuthor.topic == ShoutTopic.id)
|
||||
.join(ShoutTopic, ShoutAuthor.shout == ShoutTopic.shout)
|
||||
.join(Topic, ShoutTopic.topic == Topic.id)
|
||||
.filter(Topic.slug == str(by["topic"]))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user