From: Web Access Date: Wed, 17 Feb 2016 13:23:30 +0000 (+0530) Subject: CRM-17121: Advanced Search on Event Type OR Address returns only Event results X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d41525393f820206a7a16c1838688ba59d63bd42;p=civicrm-core.git CRM-17121: Advanced Search on Event Type OR Address returns only Event results --- diff --git a/CRM/Event/BAO/Query.php b/CRM/Event/BAO/Query.php index 88b2d4c0b8..29dd6eab1b 100644 --- a/CRM/Event/BAO/Query.php +++ b/CRM/Event/BAO/Query.php @@ -466,7 +466,8 @@ class CRM_Event_BAO_Query { break; case 'civicrm_event': - $from = " INNER JOIN civicrm_event ON civicrm_participant.event_id = civicrm_event.id "; + //CRM-17121 + $from = " LEFT JOIN civicrm_event ON civicrm_participant.event_id = civicrm_event.id "; break; case 'event_type':