fusionauth-issues
fusionauth-issues copied to clipboard
[BUG] Group membership search default sort order is inconsistent
Group membership search default sort order is inconsistent
Description
The default sort order for the /api/group/member/search
API is not consistent. The results are sorted by insertInstant
, which is not unique. It is possible to get different results with duplicate API calls.
Observed versions
1.51.1
Steps to reproduce
- Create a Group
- Add 1000+ members to the group
- Call the group membership search API many times
- Look for different group membership results from identical API calls
Expected behavior
The group membership search API should return results in the same order each time it is called with the default sort options.