projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd57457
)
CRM-15565 fix - Participent.Get api break for participant_id using IN operator
author
monishdeb
<monish.deb@webaccessglobal.com>
Thu, 6 Nov 2014 08:06:04 +0000
(13:36 +0530)
committer
monishdeb
<monish.deb@webaccessglobal.com>
Thu, 6 Nov 2014 08:06:04 +0000
(13:36 +0530)
https://issues.civicrm.org/jira/browse/CRM-15565
CRM/Event/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Query.php
b/CRM/Event/BAO/Query.php
index 3e4873a60288104c4af1b55732dd770b71e3b564..175017c14dea52e5df253ef7b1cd99b1d6fe3c9d 100644
(file)
--- a/
CRM/Event/BAO/Query.php
+++ b/
CRM/Event/BAO/Query.php
@@
-417,7
+417,7
@@
class CRM_Event_BAO_Query {
return;
case 'participant_id':
- $query->_where[$grouping][] =
"civicrm_participant.id $op $value"
;
+ $query->_where[$grouping][] =
CRM_Contact_BAO_Query::buildClause("civicrm_participant.id", $op, $value, "Integer")
;
$query->_tables['civicrm_participant'] = $query->_whereTables['civicrm_participant'] = 1;
return;