From: Johan Vervloet Date: Wed, 16 Dec 2015 15:37:01 +0000 (+0100) Subject: CRM-16587 - revert of some changes of 379902. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f18d5be823912e087fcc4735dccb8b4dbdce90de;p=civicrm-core.git CRM-16587 - revert of some changes of 379902. I reverted some changes that are not needed, so that it is easier to see what exactly changed in the pull request. ---------------------------------------- * CRM-16587: Action menu is not available on selected records on a Custom search https://issues.civicrm.org/jira/browse/CRM-16587 --- diff --git a/CRM/Contact/Form/Search/Custom/PostalMailing.php b/CRM/Contact/Form/Search/Custom/PostalMailing.php index f750c20f54..d77ac6e077 100644 --- a/CRM/Contact/Form/Search/Custom/PostalMailing.php +++ b/CRM/Contact/Form/Search/Custom/PostalMailing.php @@ -112,10 +112,10 @@ class CRM_Contact_Form_Search_Custom_PostalMailing extends CRM_Contact_Form_Sear // also need to select contact_a.id. This is because of the patch we // use for CRM-16587. $selectClause = " -DISTINCT contact_a.id as contact_id, +DISTINCT contact_a.id as contact_id , contact_a.id, -contact_a.contact_type, -contact_a.sort_name, +contact_a.contact_type as contact_type, +contact_a.sort_name as sort_name, address.street_address, state_province.name ";