ordering by login

This commit is contained in:
naomiaro 2011-02-12 23:02:44 -05:00
parent 0b9377b362
commit bd2d560c1b
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class User {
$sql_type = "type = {$type}";
}
$sql = $sql_gen ." WHERE (". $sql_type.")";
$sql = $sql_gen ." WHERE (". $sql_type.") ORDER BY login";
if(!is_null($search)) {
$like = "login ILIKE '%{$search}%'";