From 1a0c5438e6394e9225720d21de1ac3a6fb524322 Mon Sep 17 00:00:00 2001 From: Albert Ting Date: Fri, 16 Dec 2016 18:20:14 +0000 Subject: Bug 521536 - Allow user search by external id when using env authentication r=dkl,a=dkl --- editusers.cgi | 2 ++ template/en/default/admin/users/search.html.tmpl | 1 + 2 files changed, 3 insertions(+) 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 @@ + -- cgit v1.2.3-24-g4f1b