From 52bd4ae2b704f1da687455c9eb3715645b93844c Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 6 Apr 2009 05:42:25 +0000 Subject: [PATCH] - List schools by city first, then school name --- admin/student_editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/student_editor.php b/admin/student_editor.php index c64abe4..70a1a12 100644 --- a/admin/student_editor.php +++ b/admin/student_editor.php @@ -328,13 +328,13 @@ if($config['participant_student_personal']=="yes") echo " ".i18n("School").""; if( $config['participant_registration_type']=="open" || $config['participant_registration_type']=="singlepassword" || ($studentinfo && !$studentinfo->schools_id) ) { - $schoolq=mysql_query("SELECT id,school FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER by school"); + $schoolq=mysql_query("SELECT id,school,city FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER by city,school"); echo "".REQUIREDFIELD;