Sort all Group select boxes by group_name asc.

Create User now allows to select a single Group to add User to at time of User creation.
This commit is contained in:
Nate Jones
2014-06-21 19:40:16 +00:00
parent f2e32f4909
commit 1450f2bbb4
6 changed files with 56 additions and 1 deletions

View File

@@ -454,6 +454,7 @@ else {
echo "<br />\n";
$sql = "SELECT * FROM v_groups ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "order by group_name asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
echo "<select name=\"group_name\" class='formfld' style='width: auto; margin-right: 3px;'>\n";