Skip to content
Snippets Groups Projects
Commit e297a6e1 authored by Moreau Elise's avatar Moreau Elise
Browse files

add query to return list users in json

parent 9f5ecc1e
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,8 @@ class ListUsersJson extends Action
$parsedRequestBody = (array)$this->request->getParsedBody();
$search = $this->request->getQueryParams()['q'];
$queryParams = $this->request->getQueryParams();
$search = isset($queryParams['q']) ? $queryParams['q'] : '';
$users_query = $this->userRepository->createQueryBuilder('u');
$users_list = $users_query
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment