CRM-18186: Participant API filter by registered by id
authorJKingsnorth <john@johnkingsnorth.co.uk>
Tue, 5 Jul 2016 10:00:59 +0000 (11:00 +0100)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Tue, 5 Jul 2016 10:00:59 +0000 (11:00 +0100)
CRM/Event/BAO/Query.php

index 16d9ae17bb85b01be9f1d82fd4a9fb50ead2c36c..7bce9747f77b467a6ab68eaa67162abd781c0d48 100644 (file)
@@ -368,6 +368,7 @@ class CRM_Event_BAO_Query {
       case 'participant_fee_amount':
       case 'participant_fee_level':
       case 'participant_campaign_id':
+      case 'participant_registered_by_id':
 
         $qillName = $name;
         if (in_array($name, array(
@@ -379,6 +380,7 @@ class CRM_Event_BAO_Query {
           'participant_fee_level',
           'participant_is_pay_later',
           'participant_campaign_id',
+          'participant_registered_by_id',
         ))
         ) {
           $name = str_replace('participant_', '', $name);