Skip to content
Snippets Groups Projects
Commit b94ab44c authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix up search for user query to also look for uid matches.

parent 789575f8
No related branches found
No related tags found
No related merge requests found
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -63,7 +63,7 @@ echo "<br><br>\n";
if (isset($searchfor) && strcmp($searchfor, "")) {
$clause = "";
$where = "where (u.usr_name like '%${searchfor}%' or ".
"u.usr_email like '%${searchfor}%') ";
"u.usr_email like '%${searchfor}%' or u.uid like '%${searchfor}%') ";
$showtag = "matching";
}
elseif (! strcmp($showtype, "all")) {
......
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