After removing natsort add order by domain name

This commit is contained in:
FusionPBX
2023-05-21 17:10:43 -06:00
committed by GitHub
parent e7730e9e69
commit 044932163c

View File

@@ -291,7 +291,7 @@ if ($db_type == "odbc") {
//get the domains from the database
$database = new database;
if ($database->table_exists('v_domains')) {
$sql = "select * from v_domains";
$sql = "select * from v_domains order by domain_names asc;";
$prep_statement = $db->prepare($sql);
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);