From 1110b12e1bf3c0e630649976c310915b00a30370 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 11 Mar 2021 22:48:49 -0700 Subject: [PATCH] Update the Queue assigned agents to me more efficient. - Populated select list for all assigned agents does not scale well in the browser. - Assigned list scales better without the all of the agents in the list. - New select list shows all agents so that new agents can be added. --- app/call_centers/call_center_queue_edit.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index f73c96ff0c..622f5cc86d 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -789,16 +789,17 @@ echo " \n"; echo " "; if (strlen($field['call_center_tier_uuid']) > 0) { - echo " \n"; + echo " \n"; } - echo " \n"; + if (is_uuid($field['call_center_agent_uuid'])) { + echo " \n"; + } + else { + echo " \n"; + foreach($agents as $row) { + echo " \n"; } - echo " \n"; } echo " "; echo " \n";