From 1965c9729a3333757bc0fcc7b4c508b8a9cdaebc Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 29 Nov 2019 08:07:49 +1300 Subject: [PATCH] Remove CRM_Contact_Form_Search_Custom_Basic from searches added on install. From https://github.com/civicrm/civicrm-core/pull/15963 this search appears to do what the main basic search does but we can see that to make it work with sort etc we have to make changes to the BAO_Query object - doing that to support a custom search scares me & we have a big picture position that we should move these from core to an extension. However, an easy first step is not to add on new installs. In the case of this search it seems like an easy call as it doesn't add anything discernable --- xml/templates/civicrm_data.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/xml/templates/civicrm_data.tpl b/xml/templates/civicrm_data.tpl index 0f9292fd86..d85d0d7786 100644 --- a/xml/templates/civicrm_data.tpl +++ b/xml/templates/civicrm_data.tpl @@ -565,7 +565,6 @@ VALUES (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Sample' , 1, 'CRM_Contact_Form_Search_Custom_Sample' , NULL, 0, NULL, 1, '{ts escape="sql"}Household Name and State{/ts}', 0, 0, 1, NULL, NULL, NULL), (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ContributionAggregate', 2, 'CRM_Contact_Form_Search_Custom_ContributionAggregate', NULL, 0, NULL, 2, '{ts escape="sql"}Contribution Aggregate{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Basic' , 3, 'CRM_Contact_Form_Search_Custom_Basic' , NULL, 0, NULL, 3, '{ts escape="sql"}Basic Search{/ts}', 0, 0, 1, NULL, NULL, NULL), (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Group' , 4, 'CRM_Contact_Form_Search_Custom_Group' , NULL, 0, NULL, 4, '{ts escape="sql"}Include / Exclude Search{/ts}', 0, 0, 1, NULL, NULL, NULL), (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_PostalMailing' , 5, 'CRM_Contact_Form_Search_Custom_PostalMailing', NULL, 0, NULL, 5, '{ts escape="sql"}Postal Mailing{/ts}', 0, 0, 1, NULL, NULL, NULL), (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Proximity' , 6, 'CRM_Contact_Form_Search_Custom_Proximity', NULL, 0, NULL, 6, '{ts escape="sql"}Proximity Search{/ts}', 0, 0, 1, NULL, NULL, NULL), -- 2.25.1