Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.6, 4.6
-
Fix Version/s: 4.7
-
Component/s: CiviCRM API
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
If you have custom fields on an event, and you try to find an event with a specific value in a custom field, the api ignores that. E.g.
$result = civicrm_api3('Event', 'get', array(
'sequential' => 1,
'custom_7' => 12345,
));
returns all events, instead of the events with 12345 as custom value in the custom field with ID 7.