order-field-fix-2
This commit is contained in:
parent
395120ad7a
commit
cc16163673
|
@ -357,7 +357,7 @@ async def load_reactions_by(_, info, by, limit=50, offset=0):
|
||||||
aliased_reaction = aliased(Reaction)
|
aliased_reaction = aliased(Reaction)
|
||||||
q = (
|
q = (
|
||||||
select(aliased_reaction, Author, Shout)
|
select(aliased_reaction, Author, Shout)
|
||||||
.select_from(Reaction)
|
.select_from(aliased_reaction)
|
||||||
.join(Author, aliased_reaction.created_by == Author.id)
|
.join(Author, aliased_reaction.created_by == Author.id)
|
||||||
.join(Shout, aliased_reaction.shout == Shout.id)
|
.join(Shout, aliased_reaction.shout == Shout.id)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user