Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 4.7.8
-
Fix Version/s: None
-
Component/s: CiviCRM API
-
Labels:
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
When using the contributions API like this:
CRM.api3('Contribution', 'getfields', {
"sequential": 1,
"api_action": "create",
"api.Contribution.getoptions": {"field":"$value.name"}
})
the result is the same as using it like this:
CRM.api3('Contribution', 'getfields', {
"sequential": 1,
"api_action": "create"
})
In other words the API chaining doesn't have any effect. This is also evident from the API explorer.
I have found this to be the case on Civi 4.7.8 on Drupal.