From 6cb53dc8d70e2b7406a0f62e8f8fca388f42a367 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Thu, 15 Feb 2024 23:11:44 -0500 Subject: [PATCH] fix: allow subquerying a `through` while aggregating a many to many --- lib/aggregate.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aggregate.ex b/lib/aggregate.ex index 27ffe88..7f433d9 100644 --- a/lib/aggregate.ex +++ b/lib/aggregate.ex @@ -587,7 +587,7 @@ defmodule AshPostgres.Aggregate do [join_relationship], nil, subquery.__ash_bindings__.current, - true, + false, true )