Skip to content

Commit

Permalink
dev/core#956 Fix hard breakage in find participants form when you do …
Browse files Browse the repository at this point in the history
…a filter on one event and n participant statues
  • Loading branch information
seamuslee001 committed May 10, 2019
1 parent 5439ab1 commit f14010f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Event/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function buildQuickForm() {
$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;
}
Expand Down

0 comments on commit f14010f

Please sign in to comment.