CRM-13122 fixed default return properties
authorkurund <kurund@civicrm.org>
Mon, 5 Aug 2013 20:26:59 +0000 (01:56 +0530)
committereileen <eileen@fuzion.co.nz>
Mon, 5 Aug 2013 22:19:25 +0000 (10:19 +1200)
----------------------------------------
* CRM-13122: API contact.get no longer returning prefix_id, suffix_id by default
  http://issues.civicrm.org/jira/browse/CRM-13122

CRM/Contact/BAO/Query.php

index 40bcd8d87628d91ff25e9132f2065f25945f2cd9..105e85d4498bd28bad01d949e8b61df8fb5d0170 100644 (file)
@@ -3923,10 +3923,10 @@ civicrm_relationship.start_date > {$today}
           'first_name' => 1,
           'middle_name' => 1,
           'last_name' => 1,
-          'individual_prefix' => 1,
-          'individual_suffix' => 1,
+          'prefix_id' => 1,
+          'suffix_id' => 1,
           'birth_date' => 1,
-          'gender' => 1,
+          'gender_id' => 1,
           'street_address' => 1,
           'supplemental_address_1' => 1,
           'supplemental_address_2' => 1,