From e3751ea733d8248a079d44ca20adcd512c759141 Mon Sep 17 00:00:00 2001 From: jacob Date: Tue, 6 Apr 2010 15:54:06 +0000 Subject: [PATCH] Added sorting of judges by last name when listing them in the team member editor (Mantis #470) --- admin/judges.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/judges.inc.php b/admin/judges.inc.php index 4cb3a40..569166e 100644 --- a/admin/judges.inc.php +++ b/admin/judges.inc.php @@ -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']);