[Reports] Sort users by id to fix pagination

Problem statement:

When retrieving a large list of users spanning multiple pages, the results can be both incomplete and contain duplicates. This can happen if any user's sortable name is changed between pages, causing their position to jump, displacing the other users. See also support case 10519144

Proposed solution:

Preferably, pagination for the "List users in account" API endpoint should be updated so that next page links refer to a stable result set. If this is not feasible, allow id as an option for the sort parameter. This will cause the result order to be stable unless users are deleted between pages.

User role(s):

admin

1 Comment
nathanatkinson
Community Team
Community Team
Status changed to: Open