diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d8f3c1..15e14bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed +- Add sort to searchDocumentsWithPaginationInfo at getAllUsers + ## [1.44.3] - 2024-08-22 ### Fixed diff --git a/node/resolvers/Queries/Users.ts b/node/resolvers/Queries/Users.ts index b0385a9..5880505 100644 --- a/node/resolvers/Queries/Users.ts +++ b/node/resolvers/Queries/Users.ts @@ -78,6 +78,7 @@ export const getAllUsers = async ({ pageSize: PAGINATION.pageSize, }, schema: config.version, + sort: 'id asc', ...(where ? { where } : {}), })