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

Extension.Get API action filtering is broken

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.15
    • Fix Version/s: 4.7.20
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      As far as I can tell, the *Extension.Get* no longer acts correctly - regardless of what filter parameters I provide, I get 25 results back. When I attempt to use *GetSingle*, I get a "expected 1 result, got 25" error.

      This is replicated on dmaster when attempting to filter by Name or Key:

      I believe this was introduced in PR-9141, as the call to `_civicrm_api3_basic_array_get` has the "filterable fields" parameter changed to an empty array.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seamuslee Seamus Lee
                Reporter:
                ineffyble Effy Elden
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: