feat: search group members (#2445)

This commit is contained in:
Philip Okugbe
2026-08-27 12:43:08 +01:00
committed by GitHub
parent 579e22a45e
commit d92716d82f
2 changed files with 70 additions and 52 deletions
@@ -60,6 +60,10 @@ export class GroupUserRepo {
sql`f_unaccent(users.name)`,
'ilike',
sql`f_unaccent(${'%' + pagination.query + '%'})`,
).or(
sql`users.email`,
'ilike',
sql`f_unaccent(${'%' + pagination.query + '%'})`,
),
);
}