Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
As per api_v3_ContactTest::testContactCreateCurrentEmployer
It used to be that
civicrm_api('contact', 'get', array(
'version' => 3,
'organization_name' => 'new employer org',
'contact_type' => 'Organization'
));
Would only return Organizations - it now returns Individuals as well. I assume that even without contact_type set it used to return only organizations as it is an org field