diff --git a/app/call_centers/call_center_agent_status.php b/app/call_centers/call_center_agent_status.php index 3b821bf6b1..f8a74c90f2 100644 --- a/app/call_centers/call_center_agent_status.php +++ b/app/call_centers/call_center_agent_status.php @@ -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"; -?> \ No newline at end of file +?>