From 53e48a52622eb5310c3f49baa4acbcf7f562b00f Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Mon, 21 Dec 2020 18:01:44 -0500 Subject: [PATCH] Call center: add missing queue_name field from destination select sql query --- app/call_centers/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_centers/app_config.php b/app/call_centers/app_config.php index b2e806fa41..fc25496112 100644 --- a/app/call_centers/app_config.php +++ b/app/call_centers/app_config.php @@ -35,7 +35,7 @@ $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_centers"; $apps[$x]['destinations'][$y]['name'] = "call_centers"; - $apps[$x]['destinations'][$y]['sql'] = "select queue_extension as destination, queue_extension as extension, queue_description as description from v_call_center_queues"; + $apps[$x]['destinations'][$y]['sql'] = "select queue_name as name, queue_extension as destination, queue_extension as extension, queue_description as description from v_call_center_queues"; $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' "; $apps[$x]['destinations'][$y]['order_by'] = "queue_name asc"; $apps[$x]['destinations'][$y]['field']['name'] = "queue_name";