fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

[BUG] Group membership search default sort order is inconsistent

Open spwitt opened this issue 8 months ago • 0 comments

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

  1. Create a Group
  2. Add 1000+ members to the group
  3. Call the group membership search API many times
  4. 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.

spwitt avatar Jun 26 '24 16:06 spwitt