forked from science-ation/science-ation
might as well sort by first name as well...
This commit is contained in:
parent
e3751ea733
commit
28db0a6871
@ -230,7 +230,7 @@ function judges_load_all()
|
|||||||
$query = "SELECT id FROM users WHERE types LIKE '%judge%'
|
$query = "SELECT id FROM users WHERE types LIKE '%judge%'
|
||||||
AND year='{$config['FAIRYEAR']}'
|
AND year='{$config['FAIRYEAR']}'
|
||||||
AND deleted='no'
|
AND deleted='no'
|
||||||
ORDER BY lastname";
|
ORDER BY lastname, firstname";
|
||||||
$r = mysql_query($query);
|
$r = mysql_query($query);
|
||||||
while($i = mysql_fetch_assoc($r)) {
|
while($i = mysql_fetch_assoc($r)) {
|
||||||
$u = user_load($i['id']);
|
$u = user_load($i['id']);
|
||||||
|
Loading…
Reference in New Issue
Block a user