Fix broken GraphQL members search pagination
What does this MR do and why?
This MR fixes the broken group members
search when requesting the second page. The returned ActiveRecord scope from the User.search
method returned a query with an ORDER BY
clause incompatible with keyset pagination. Example query: #359945 (closed)
This MR modifies the query to support keyset pagination. The change is behind a feature flag: use_keyset_aware_user_search_query
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #359945 (closed)
Edited by Adam Hegyi