ordering by login
This commit is contained in:
parent
0b9377b362
commit
bd2d560c1b
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class User {
|
||||||
$sql_type = "type = {$type}";
|
$sql_type = "type = {$type}";
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = $sql_gen ." WHERE (". $sql_type.")";
|
$sql = $sql_gen ." WHERE (". $sql_type.") ORDER BY login";
|
||||||
|
|
||||||
if(!is_null($search)) {
|
if(!is_null($search)) {
|
||||||
$like = "login ILIKE '%{$search}%'";
|
$like = "login ILIKE '%{$search}%'";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue