mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-20 06:24:25 +00:00
# Which Problems Are Solved #10415 added the possibility to filter users based on metadata. To prevent duplicate results an sql `DISTINCT` was added. This resulted in issues if the list was sorted on string columns like `username` or `displayname`, since they are sorted using `lower`. Using `DISTINCT` requires the `order by` column to be part of the `SELECT` statement. # How the Problems Are Solved Added the order by column to the statement. # Additional Changes None # Additional Context - relates to #10415 - backport to v4.x --------- Co-authored-by: Silvan <[email protected]>