Skip to content

Commit 989a65c

Browse files
committed
Fix.
1 parent 2130902 commit 989a65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def get_combinator_queries(self):
644644
# Unfold foreign fields.
645645
if isinstance(expr, Col) and expr.alias != self.collection_name:
646646
ids[expr.alias][expr.target.column] = expr.as_mql(
647-
self, self.connection, as_path=True
647+
self, self.connection, as_path=False
648648
)
649649
else:
650650
ids[alias] = f"${alias}"

0 commit comments

Comments
 (0)