Livio Spring
a3c0d53c79
fix(api): sorting on list users endpoints ( #10750 )
...
# 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 <27845747+adlerhurst@users.noreply.github.com >
(cherry picked from commit 2c0ee0008f )
2025-09-18 12:18:33 +02:00
..
2025-09-18 12:11:46 +02:00
2025-02-13 16:03:05 +00:00
2025-05-28 21:54:18 +00:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-07-29 18:17:16 +02:00
2025-02-11 18:45:09 +00:00
2025-02-11 18:45:09 +00:00
2025-04-02 16:53:06 +02:00
2025-06-27 17:25:44 +02:00
2025-04-02 16:53:06 +02:00
2025-05-19 10:16:49 +00:00
2025-04-02 16:53:06 +02:00
2025-07-02 07:34:19 +00:00
2025-03-31 12:45:11 +02:00
2025-08-15 15:20:40 +02:00
2024-12-06 11:32:53 +00:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-05-28 21:54:18 +00:00
2025-09-15 09:41:49 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2024-09-11 08:24:00 +00:00
2024-09-11 08:24:00 +00:00
2024-09-11 08:24:00 +00:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2024-04-16 11:19:17 +00:00
2025-09-01 08:16:52 +02:00
2025-09-01 08:16:52 +02:00
2025-09-01 08:16:52 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-09-01 08:16:52 +02:00
2025-06-18 13:24:39 +02:00
2025-06-18 13:24:39 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-08-28 09:22:59 +02:00
2025-08-28 09:22:59 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-08-15 14:45:40 +02:00
2025-04-02 16:53:06 +02:00
2025-09-01 08:16:52 +02:00
2025-09-01 08:16:52 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-08-21 09:24:03 +02:00
2025-06-30 05:48:04 +00:00
2025-08-21 09:24:03 +02:00
2025-05-21 10:50:44 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-09-18 06:46:37 +02:00
2024-10-04 13:15:41 +00:00
2025-08-21 09:25:25 +02:00
2025-04-02 16:53:06 +02:00
2025-06-30 05:48:04 +00:00
2025-06-26 19:17:45 +03:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-07-04 18:12:59 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2024-12-19 10:37:46 +01:00
2025-04-02 16:53:06 +02:00
2024-12-19 10:37:46 +01:00
2025-04-02 16:53:06 +02:00
2025-06-06 08:48:29 +00:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-06-06 08:48:29 +00:00
2025-06-03 14:48:15 +02:00
2025-08-12 11:47:00 +02:00
2024-11-21 08:05:03 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-22 08:42:59 +00:00
2025-04-22 08:42:59 +00:00
2025-04-22 08:42:59 +00:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-07-04 18:12:59 +02:00
2025-07-04 18:12:59 +02:00
2025-04-02 16:53:06 +02:00
2025-07-29 18:17:16 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-06-04 11:46:10 +00:00
2025-04-02 16:53:06 +02:00
2025-07-29 18:17:16 +02:00
2025-09-15 08:26:41 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-06-03 14:15:30 +00:00
2025-06-03 14:15:30 +00:00
2025-06-03 14:15:30 +00:00
2025-04-02 16:53:06 +02:00
2025-06-06 08:48:29 +00:00
2025-04-02 16:53:06 +02:00
2025-05-19 10:16:49 +00:00
2025-04-02 16:53:06 +02:00
2025-02-13 16:03:05 +00:00
2025-04-02 16:53:06 +02:00
2025-02-13 16:03:05 +00:00
2025-09-18 12:11:46 +02:00
2025-09-18 12:11:46 +02:00
2025-04-02 16:53:06 +02:00
2025-06-06 08:48:29 +00:00
2025-06-06 08:48:29 +00:00
2025-08-08 09:53:51 +02:00
2025-04-02 16:53:06 +02:00
2025-09-15 08:26:41 +02:00
2025-09-15 08:26:41 +02:00
2025-09-15 08:26:41 +02:00
2025-09-15 08:26:41 +02:00
2025-08-21 09:24:03 +02:00
2025-06-30 05:48:04 +00:00
2025-08-21 09:24:03 +02:00
2025-09-01 08:16:52 +02:00
2025-09-01 08:16:52 +02:00
2025-04-02 16:53:06 +02:00
2025-03-28 12:36:05 +00:00
2025-08-15 14:45:38 +02:00
2025-06-06 08:48:29 +00:00
2025-05-08 07:32:41 +00:00
2025-07-10 15:17:49 +00:00
2025-07-04 18:12:59 +02:00
2025-07-29 18:17:16 +02:00
2025-07-04 18:12:59 +02:00
2025-07-04 18:12:59 +02:00
2025-04-02 16:53:06 +02:00
2025-08-28 09:23:04 +02:00
2025-06-06 08:48:29 +00:00
2025-05-08 07:32:41 +00:00
2025-04-02 16:53:06 +02:00
2025-04-02 16:53:06 +02:00
2025-06-06 08:48:29 +00:00
2024-08-28 19:46:45 +00:00
2025-04-02 16:53:06 +02:00
2025-09-18 12:18:33 +02:00
2025-09-18 12:18:33 +02:00
2025-01-29 15:12:31 +00:00
2024-04-09 15:15:35 +02:00
2025-04-02 16:53:06 +02:00
2025-06-30 05:48:04 +00:00
2025-09-15 08:30:09 +02:00
2024-08-16 11:41:09 +00:00
2024-08-16 11:41:09 +00:00
2024-08-14 14:18:14 +00:00
2024-08-16 11:41:09 +00:00
2025-04-02 16:53:06 +02:00
2024-08-14 14:18:14 +00:00