Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.6, 4.6
-
Fix Version/s: 4.6
-
Component/s: CiviCRM API
-
Labels:
-
Documentation Required?:None
Description
If I call the API as follows:
$result = civicrm_api3('Contact', 'get', array(
'sequential' => 1,
'return' => "sort_name",
'id' => 109,
'api.Relationship.get' => array('options' => array('limit' => 1)),
));
I would expect that it would return at most 1 relationship, but it returns all relationships instead.
The 'sort' option is ignored as well.