Tnx andreasG: added sort order for manageUsersInGroup

This commit is contained in:
Len Kranendonk 2003-07-25 11:13:12 +00:00
parent 6856cea379
commit f100557be8

View file

@ -412,7 +412,7 @@ sub www_manageUsersInGroup {
$f->hidden("op","addUsersToGroupSave");
my $existingUsers = WebGUI::Grouping::getUsersInGroup($session{form}{gid});
push(@{$existingUsers},"1");
my $users = WebGUI::SQL->buildHashRef("select userId,username from users where status='Active' and userId not in (".join(",",@{$existingUsers}).")");
my $users = WebGUI::SQL->buildHashRef("select userId,username from users where status='Active' and userId not in (".join(",",@{$existingUsers}).") order by username");
$f->selectList(
-name=>"users",
-label=>WebGUI::International::get(976),