From e5c82cb9e87581c926ccee5553316d90357edcf9 Mon Sep 17 00:00:00 2001 From: konradSC Date: Tue, 18 Jun 2019 11:35:59 -0400 Subject: [PATCH] Make Destination Actions Searchable (#4289) * Make Destination Actions Searchable It would be nice to have destination actions as a searchable field. Example: If I have 500 destinations and 17 of them have Ring Group 5050 as their action, it would be helpful to be able to search for 5050 and pull up all the applicable destinations. * Update destinations.php --- app/destinations/destinations.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/destinations/destinations.php b/app/destinations/destinations.php index e41cab4bb7..24f7a86332 100644 --- a/app/destinations/destinations.php +++ b/app/destinations/destinations.php @@ -111,6 +111,7 @@ } $sql_search .= "or lower(destination_enabled) like :search "; $sql_search .= "or lower(destination_description) like :search "; + $sql_search .= "or lower(destination_data) like :search "; $sql_search .= ") "; }