Skip to content

Commit 80e400a

Browse files
committed
fix: include references within exists while building calculation joins
1 parent cec2577 commit 80e400a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/join.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule AshSql.Join do
8484
relationship_paths =
8585
relationship_paths ||
8686
filter
87-
|> Ash.Filter.relationship_paths()
87+
|> Ash.Filter.relationship_paths(true)
8888
|> to_joins(filter, query.__ash_bindings__.resource)
8989

9090
# Add parent relationship paths from relationship filters with parent expressions

0 commit comments

Comments
 (0)