From 102eecd615c12cfc43cfd57990c18d1a23606d53 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Fri, 20 Mar 2015 15:14:56 +0530 Subject: [PATCH] Select element not shown for Gender in Search Builder Form --- api/v3/Contact.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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, -- 2.25.1