瀏覽代碼

After removing natsort add order by domain name

FusionPBX 2 年之前
父節點
當前提交
40a52f4c03
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/pdo.php

+ 1 - 1
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);