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

Participant API Returns incorrect results when no fee recorded

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 4.0.7
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      Scenario:

      Create some participation records with no cost associated (display as blank fee in my CRM).
      Search for these records using the participant search API call. Ensure that contribution_id is requested to be returned.

      The result of this API call returns the contacts most recent contribution as it incorrectly left joins on the contributions table and returns all of their contributions (as verified by running SQL query directly).

        Attachments

          Activity

            People

            • Assignee:
              erikhommel Erik Hommel
              Reporter:
              paulc paul campbell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: