Select element not shown for Gender in Search Builder Form
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 20 Mar 2015 09:44:56 +0000 (15:14 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 20 Mar 2015 09:44:56 +0000 (15:14 +0530)
api/v3/Contact.php

index 3e2fa02f0d7b056595a088afc9699210b60e0b32..7959532616e7ad9291ca4c80481f5573bb1fcd13 100644 (file)
@@ -265,10 +265,8 @@ function _civicrm_api3_contact_get_spec(&$params) {
     'title' => 'Primary Email',
     'type' => CRM_Utils_Type::T_STRING,
   );
-  $params['gender_id'] = array(
-    'title' => 'Gender ID',
-    'type' => CRM_Utils_Type::T_INT,
-  );
+  $params['gender_id']['title'] = 'Gender ID';
+  $params['gender_id']['type'] = CRM_Utils_Type::T_INT;
   $params['gender'] = array(
     'title' => 'Gender',
     'type' => CRM_Utils_Type::T_STRING,