Commit 2416d64a authored by Leigh B Stoller's avatar Leigh B Stoller

Add affiliation and email to user search.

parent 4003c982
...@@ -69,6 +69,8 @@ function Do_SearchUsers() ...@@ -69,6 +69,8 @@ function Do_SearchUsers()
DBQueryFatal("select uid,usr_name,usr_affil,portal from users ". DBQueryFatal("select uid,usr_name,usr_affil,portal from users ".
"where portal='$PORTAL_GENESIS' and ". "where portal='$PORTAL_GENESIS' and ".
" (uid like '%${text}%' or ". " (uid like '%${text}%' or ".
" usr_affil like '%${text}%' or ".
" LCASE(usr_email) like '%${text}%' or ".
" usr_name like '%${text}%') ". " usr_name like '%${text}%') ".
"order by uid"); "order by uid");
......
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