Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.19
-
Component/s: CiviCRM API
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
api query array of ids not working in contribution support for querying only a single value, works fine in membership for multiple values
example : contribution get
/civicrm/ajax/rest?entity=Contribution&action=get&debug=1&sequential=1&json={"id":
{"IN":["1","2","3"]}}
Its been fixed in api improvements done from 4.6 onward (to 4.7 latest) as now we support advance filtering for all entities. I confirmed the behaviour on my local also you can check the same on demo http://dmaster.demo.civicrm.org/.
Please upgrade your site to civicrm latest.
Thanks,
Monish