improvement: org user groups tables search fixed and col sort added and group add users pagination fixed and search improved to include first and last name

This commit is contained in:
Scott Wilson
2024-10-18 13:20:17 -07:00
parent b22a93a175
commit d677654311
18 changed files with 247 additions and 81 deletions
+2 -1
View File
@@ -165,7 +165,8 @@ export const registerGroupRouter = async (server: FastifyZodProvider) => {
querystring: z.object({
offset: z.coerce.number().min(0).max(100).default(0).describe(GROUPS.LIST_USERS.offset),
limit: z.coerce.number().min(1).max(100).default(10).describe(GROUPS.LIST_USERS.limit),
username: z.string().optional().describe(GROUPS.LIST_USERS.username)
username: z.string().trim().optional().describe(GROUPS.LIST_USERS.username),
search: z.string().trim().optional().describe(GROUPS.LIST_USERS.search)
}),
response: {
200: z.object({