Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16036

API: searching on custom fields only works for contacts

    Details

    • 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.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              johanv Johan Vervloet
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: