From 044932163c3b707cc200b1ded9898c33069fa8d5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 21 May 2023 17:10:43 -0600 Subject: [PATCH] After removing natsort add order by domain name --- resources/pdo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/pdo.php b/resources/pdo.php index 209809e91a..8b81c24adb 100644 --- a/resources/pdo.php +++ b/resources/pdo.php @@ -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);