emptybody-fix
All checks were successful
deploy / deploy (push) Successful in 2m12s

This commit is contained in:
2023-11-27 21:03:59 +03:00
parent 3b0aedf959
commit 5f8ec549df
6 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ def add_community_stat_columns(q):
# )
q = q.add_columns(literal(0).label("commented_stat"))
# q = q.outerjoin(Reaction, and_(Reaction.created_by == Author.id, Reaction.body.is_not(None))).add_columns(
# q = q.outerjoin(Reaction, and_(Reaction.created_by == Author.id, Reaction.body.is_not(''))).add_columns(
# func.count(distinct(Reaction.id)).label('commented_stat')
# )