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 814dca1839
commit a695d35ca2
6 changed files with 56 additions and 1 deletions

View File

@@ -172,6 +172,7 @@ if (count($_POST)>0) {
//---- Begin Select List --------------------
$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();

View File

@@ -203,6 +203,7 @@ else {
//---- Begin Select List --------------------
$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();