Commit 6f70ba92 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Search usernames in admin user search

parent c985d103
......@@ -208,6 +208,9 @@ function get_admin_user_search_results($search, $offset, $limit, $sortby, $sortd
$queries[] = array('field' => 'lastname',
'type' => 'contains',
'string' => $word);
$queries[] = array('field' => 'username',
'type' => 'contains',
'string' => $word);
}
}
foreach ($fullnames as $n) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment