Skip to content

Commit

Permalink
feat: add email search to users
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope committed May 10, 2024
1 parent 352b2c0 commit c440b3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/V2/User/AdminUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit c440b3b

Please sign in to comment.