forked from science-ation/science-ation
Added sorting of judges by last name when listing them in the team member editor (Mantis #470)
This commit is contained in:
parent
534981a0b9
commit
e3751ea733
@ -229,7 +229,8 @@ 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";
|
||||||
$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