From c440b3bef95e956134f9b4a269cb06b58e1b339d Mon Sep 17 00:00:00 2001 From: Limber Mamani Date: Fri, 10 May 2024 13:54:08 -0400 Subject: [PATCH] feat: add email search to users --- app/Http/Controllers/V2/User/AdminUserController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/V2/User/AdminUserController.php b/app/Http/Controllers/V2/User/AdminUserController.php index 2e9d2cea9..fe17f183c 100644 --- a/app/Http/Controllers/V2/User/AdminUserController.php +++ b/app/Http/Controllers/V2/User/AdminUserController.php @@ -47,6 +47,7 @@ public function index(Request $request): UsersCollection AllowedFilter::scope('verified'), AllowedFilter::exact('organisation_id'), AllowedFilter::scope('organisation_uuid'), + AllowedFilter::exact('email_address') ]); if (in_array($request->query('sort'), $sortableColumns)) {