From 7d4ceb5980804d5158c3f9c7a692703da5181d4b Mon Sep 17 00:00:00 2001
From: kurund <kurund@civicrm.org>
Date: Wed, 14 Aug 2013 17:35:45 +0530
Subject: [PATCH] fixed CRM-13223

----------------------------------------
* CRM-13223: Include phone entity fields in Contact get spec
  http://issues.civicrm.org/jira/browse/CRM-13223
---
 api/v3/Contact.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/api/v3/Contact.php b/api/v3/Contact.php
index 39b6926ebb..cbf63e8da6 100644
--- a/api/v3/Contact.php
+++ b/api/v3/Contact.php
@@ -186,6 +186,7 @@ function _civicrm_api3_contact_get_spec(&$params) {
   $params['worldregion_id']['title'] = 'Primary Address World Region ID';
   $params['worldregion']['title'] = 'Primary Address World Region';
   $params['phone_id']['title'] = 'Primary Phone ID';
+  $params['phone']['title'] = 'Primary Phone';
   $params['phone_type_id']['title'] = 'Primary Phone Type ID';
   $params['provider_id']['title'] = 'Primary Phone Provider ID';
   $params['email_id']['title'] = 'Primary Email ID';
-- 
GitLab