Skip to content

Commit 59ec0b7

Browse files
committed
Enable user search by email.
1 parent 0711609 commit 59ec0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/model/repository/Users.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getPaginated(Pagination $pagination, &$totalCount): array
5555
'email' => ['u.email'],
5656
'createdAt' => ['u.createdAt'],
5757
],
58-
['firstName', 'lastName'] // search column names
58+
['firstName', 'lastName', 'email'] // search column names
5959
);
6060
$paginationDbHelper->apply($qb, $pagination);
6161

0 commit comments

Comments
 (0)