Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
1a0c5438
Commit
1a0c5438
authored
Dec 16, 2016
by
Albert Ting
Committed by
David Lawrence
Dec 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 521536 - Allow user search by external id when using env authentication
r=dkl,a=dkl
parent
3fb30abd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
editusers.cgi
editusers.cgi
+2
-0
search.html.tmpl
template/en/default/admin/users/search.html.tmpl
+1
-0
No files found.
editusers.cgi
View file @
1a0c5438
...
...
@@ -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"
;
}
...
...
template/en/default/admin/users/search.html.tmpl
View file @
1a0c5438
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment