From f14010f5ee4bd79fc702de35d93949ecd489004a Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 11 May 2019 09:24:47 +1000 Subject: [PATCH] dev/core#956 Fix hard breakage in find participants form when you do a filter on one event and n participant statues --- CRM/Event/Form/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Search.php b/CRM/Event/Form/Search.php index 71e58e1f3f..4a61657ee3 100644 --- a/CRM/Event/Form/Search.php +++ b/CRM/Event/Form/Search.php @@ -170,7 +170,7 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search { $seatClause[] = "( participant.is_test = {$this->_formValues['participant_test']} )"; } if (!empty($this->_formValues['participant_status_id'])) { - $seatClause[] = CRM_Contact_BAO_Query::buildClause("participant.status_id", '=', $this->_formValues['participant_status_id'], 'Int'); + $seatClause[] = CRM_Contact_BAO_Query::buildClause("participant.status_id", 'IN', $this->_formValues['participant_status_id'], 'Int'); if ($status = CRM_Utils_Array::value('IN', $this->_formValues['participant_status_id'])) { $this->_formValues['participant_status_id'] = $status; } -- 2.25.1