From 1dabf28b4af08ffe78dda726e2f4783b08d6c6bc Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 3 Apr 2020 17:36:18 -0600 Subject: [PATCH] Call Flows: Only show enabled in destination select. --- app/call_flows/app_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_flows/app_config.php b/app/call_flows/app_config.php index 7cfe5535c9..060308ab8c 100644 --- a/app/call_flows/app_config.php +++ b/app/call_flows/app_config.php @@ -34,7 +34,7 @@ $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_flows"; $apps[$x]['destinations'][$y]['name'] = "call_flows"; - $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' "; + $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "call_flow_name asc"; $apps[$x]['destinations'][$y]['field']['context'] = "call_flow_context"; $apps[$x]['destinations'][$y]['field']['name'] = "call_flow_name";