Added sorting of judges by last name when listing them in the team member editor (Mantis #470)

This commit is contained in:
jacob 2010-04-06 15:54:06 +00:00
parent 534981a0b9
commit e3751ea733

View File

@ -229,7 +229,8 @@ function judges_load_all()
$query = "SELECT id FROM users WHERE types LIKE '%judge%'
AND year='{$config['FAIRYEAR']}'
AND deleted='no'";
AND deleted='no'
ORDER BY lastname";
$r = mysql_query($query);
while($i = mysql_fetch_assoc($r)) {
$u = user_load($i['id']);