mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user