From e9afa22bc736eb4abe8f4a86d13acbd16a0a1962 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Wed, 9 Aug 2023 03:26:48 -0500 Subject: [PATCH] Fix `Select.join` not using kw args --- files/helpers/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/comments.py b/files/helpers/comments.py index 2f409d983..4400affed 100644 --- a/files/helpers/comments.py +++ b/files/helpers/comments.py @@ -142,7 +142,7 @@ def bulk_recompute_descendant_counts(predicate = None, db=None): .join( child_comments, parent_comments.corresponding_column(Comment.id) == child_comments.corresponding_column(Comment.parent_comment_id), - True + isouter=True ) .group_by(parent_comments.corresponding_column(Comment.id)) .with_only_columns(