Set reasonable ordering on users.

This commit is contained in:
Wolfgang Herget 2009-06-13 13:42:31 +12:00 committed by Andrew McMillan
parent d58856528a
commit b73af25e22

View File

@ -202,7 +202,7 @@ class RSCDSUser extends User
$sql = <<<EOSQL
SELECT user_no, fullname FROM usr
WHERE NOT EXISTS ( SELECT 0 FROM relationship WHERE (from_user = usr.user_no AND to_user = $this->user_no))
AND user_no != $this->user_no
AND user_no != $this->user_no ORDER BY fullname
EOSQL;
if ( isset($this->roles['Group']) ) {
/**