From: jitendrapurohit Date: Fri, 20 Mar 2015 09:44:56 +0000 (+0530) Subject: Select element not shown for Gender in Search Builder Form X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=102eecd615c12cfc43cfd57990c18d1a23606d53;p=civicrm-core.git Select element not shown for Gender in Search Builder Form --- diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 3e2fa02f0d..7959532616 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -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,