Skip to content

Commit 339ab3d

Browse files
authored
fix: use binding instead of 0 in add_aggregates (#226)
1 parent 32655e9 commit 339ab3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sort.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ defmodule AshSql.Sort do
163163
left_only?: true
164164
)
165165

166-
case AshSql.Aggregate.add_aggregates(query, used_aggregates, resource, false, 0) do
166+
case AshSql.Aggregate.add_aggregates(query, used_aggregates, resource, false, binding) do
167167
{:error, error} ->
168168
{:error, error}
169169

0 commit comments

Comments
 (0)