diff options
-rwxr-xr-x | editusers.cgi | 2 | ||||
-rw-r--r-- | template/en/default/admin/users/search.html.tmpl | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/editusers.cgi b/editusers.cgi index 3bc648509..13f7a963c 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -132,6 +132,8 @@ if ($action eq 'search') { $expr = 'profiles.email'; } elsif ($matchvalue eq 'realname') { $expr = "profiles.realname"; + } elsif ($matchvalue eq 'extern_id') { + $expr = "profiles.extern_id"; } else { $expr = "profiles.login_name"; } diff --git a/template/en/default/admin/users/search.html.tmpl b/template/en/default/admin/users/search.html.tmpl index f71589480..73392631a 100644 --- a/template/en/default/admin/users/search.html.tmpl +++ b/template/en/default/admin/users/search.html.tmpl @@ -33,6 +33,7 @@ <option value="email">email address</option> <option value="realname">real name</option> <option value="userid">user id</option> + <option value="extern_id">external id</option> </select> <label for="matchstr">matching</label> <input size="32" name="matchstr" id="matchstr" autofocus> |