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

FIXED: Pledge api does not filter on contact_id

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.6.2
    • Fix Version/s: 4.6.3
    • Component/s: CiviPledge
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      I have fixed the bug, here is a diff of CRM/Pledge/BAO/Query.php

      397a398,406
      >
      > case 'pledge_contact_id':
      > $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_pledge.contact_id",
      > $op,
      > $value,
      > "Integer"
      > );
      > $query->_tables['civicrm_pledge'] = $query->whereTables['civicrm_pledge'] = 1;
      > return;

        Attachments

          Activity

            People

            • Assignee:
              pratiksha pratiksha
              Reporter:
              jeffmikels Jeff Mikels
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified