alphabetize the page (#2396)

This commit is contained in:
jamesorose 2017-02-23 17:16:54 -06:00 committed by FusionPBX
parent eeb20db3a1
commit 3f4683b4d5
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ else {
//get the agents from the database
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "where domain_uuid = '$domain_uuid' ORDER BY agent_name ASC ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$agents = $prep_statement->fetchAll(PDO::FETCH_NAMED);
@ -238,4 +238,4 @@ else {
//show the footer
require_once "resources/footer.php";
?>
?>