Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added order by

=1d083befe460
diff --git a/backend/src/server/routes/v1/identity-router.ts b/backend/src/server/routes/v1/identity-router.ts
index a0fe457a95..107a4b9ef6 100644
--- a/backend/src/server/routes/v1/identity-router.ts
+++ b/backend/src/server/routes/v1/identity-router.ts
@@ -388,7 +388,9 @@ export const registerIdentityRouter = async (server: FastifyZodProvider) => {
searchFilter: req.body.search,
orgId: req.permission.orgId,
limit: req.body.limit,
- offset: req.body.offset
+ offset: req.body.offset,
+ orderBy: req.body.orderBy,
+ orderDirection: req.body.orderDirection
});
return { identities: identityMemberships, totalCount };