Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 4.3.5, 4.4.0
-
Fix Version/s: 4.4.1
-
Component/s: CiviCRM API
-
Labels:None
Description
The 'GroupContact' 'get' method shows an odd behaviour:
- If you query for 'group_id' (e.g. group_id=3 on the current sand box), you get the correct result
- If you query for 'contact_id' (e.g. contact_id=3 on the current sand box), you get the correct result (currently a single group with id=2).
- BUT if you combine these (e.g. group_id=3&contact_id=3 on the current sandbox), you get a WRONG result (currently it lists the group with id=2 again - wrong according to the query!).
I'm assuming this is a bug. I reproduced that using the api explorer on the current (4.4beta3 sandbox.drupal.civicrm.org) sandbox.