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";