From d030b52f6ddd7070f3d5d45d601cd94d075bc1d1 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 7 Aug 2015 19:21:25 -0600 Subject: [PATCH] Fix the gateways list for call center agents. --- app/gateways/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gateways/app_config.php b/app/gateways/app_config.php index 22ac0ea4a6..049daf4f95 100644 --- a/app/gateways/app_config.php +++ b/app/gateways/app_config.php @@ -25,7 +25,7 @@ $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "gateways"; $apps[$x]['destinations'][$y]['name'] = "gateways"; - $apps[$x]['destinations'][$y]['sql'] = "select g.gateway_uuid as uuid, g.gateway as name, d.domain_name from v_gateways as g "; + $apps[$x]['destinations'][$y]['sql'] = "select g.gateway_uuid as destination, g.gateway as name, d.domain_name from v_gateways as g "; $apps[$x]['destinations'][$y]['sql'] .= "inner join v_domains as d on g.domain_uuid = d.domain_uuid "; $apps[$x]['destinations'][$y]['where'] = "where g.domain_uuid = '\${domain_uuid}' and g.enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "gateway asc";