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

Add registered_by_id to Participant API

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 3.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      While creating reports using the API I realized how useful it would be to include the "registered_by_id" field as part of the civicrm_participant_search() results. My report has a column for "registered by" and having the id will make it easier to query further details. I'm still in the process of converting piles of direct sql queries to API and it's getting much better thanks to you guys!

      I made this modification to civicrm/CRM/Event/BAO/Query.php to include this field.. see attached patch

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              tontate Anthony Nijmeh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified