Users are sorted alphabetically when adding resources to projects

This commit is contained in:
Frank Dillon 2007-07-26 21:45:12 +00:00
parent 08f6a86602
commit 2fcdf59b2f

View file

@ -330,7 +330,7 @@ sub www_editProject {
);
tie my %users, "Tie::IxHash";
%users = $db->buildHash("select userId,username from users where userId not in ('1','3')");
%users = $db->buildHash("select userId,username from users where userId not in ('1','3') order by username");
my $resources = $db->buildArrayRef("select resourceId from TT_projectResourceList where projectId=".$db->quote($projectId));
$f->selectList(