From 489e6b39a9cdc09cf2725df650e1213b26593014 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 29 Mar 2024 02:40:08 +0300 Subject: [PATCH] rating-fix-5 --- resolvers/rating.py | 1 + 1 file changed, 1 insertion(+) 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)