fixed-coales
Some checks failed
Deploy on push / deploy (push) Failing after 10s

This commit is contained in:
2024-10-15 11:12:09 +03:00
parent 76aeddbde2
commit bf33cdc95c
6 changed files with 47 additions and 48 deletions

View File

@@ -192,7 +192,8 @@ def add_author_rating_columns(q, group_list):
(shout_reaction.kind == ReactionKind.DISLIKE.value, -1),
else_=0,
)
)
),
0,
).label("shouts_rating"),
)
.select_from(shout_reaction)
@@ -226,7 +227,8 @@ def add_author_rating_columns(q, group_list):
(reaction_2.kind == ReactionKind.DISLIKE.value, -1),
else_=0,
)
)
),
0,
).label("comments_rating"),
)
.select_from(reaction_2)