diff --git a/resolvers/rating.py b/resolvers/rating.py index b7506988..1d7c4e15 100644 --- a/resolvers/rating.py +++ b/resolvers/rating.py @@ -153,6 +153,7 @@ def add_rating_columns(q, group_list): ) )).label('shouts_rating') ) + .select_from(Reaction) .outerjoin( Shout, Shout.authors.any(Author.id == Author.id)