Skip to content
Snippets Groups Projects
Commit 973110fd authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3900 from JediKev/issue/user-phone-search

oops: User Phone Search
parents ef283666 00e47272
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ class UsersAjaxAPI extends AjaxController {
'emails__address__contains' => $q,
'name__contains' => $q,
'org__name__contains' => $q,
'cdata__phone__contains' => $q,
)));
}
......
......@@ -14,6 +14,7 @@ if ($_REQUEST['query']) {
'emails__address__contains' => $search,
'name__contains' => $search,
'org__name__contains' => $search,
'cdata__phone__contains' => $search,
// TODO: Add search for cdata
)));
$qs += array('query' => $_REQUEST['query']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment