Skip to content

Commit

Permalink
fix: unset sort/distinct on related queries
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 12, 2024
1 parent f3ccb78 commit 40c1a13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/join.ex
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ defmodule AshPostgres.Join do
actor: context[:private][:actor],
tenant: context[:private][:tenant]
)
|> Ash.Query.unset([:sort, :distinct, :select, :limit, :offset])
|> case do
%{valid?: true} = query ->
ash_query = query
Expand Down

0 comments on commit 40c1a13

Please sign in to comment.