From 476c4ae523174e8759d1d3856071c4197f365986 Mon Sep 17 00:00:00 2001 From: Jon goldberg - Linux laptop Date: Thu, 19 Sep 2013 13:43:08 -0400 Subject: [PATCH] CRM-13405 - CiviReport - Add Phone Extension to Contact Summary and Detail Reports ---------------------------------------- * CRM-13405: Phone extensions not available to search preferences/contact reports http://issues.civicrm.org/jira/browse/CRM-13405 --- CRM/Report/Form/Contact/Detail.php | 8 +++++++- CRM/Report/Form/Contact/Summary.php | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CRM/Report/Form/Contact/Detail.php b/CRM/Report/Form/Contact/Detail.php index 2e162199bb..d9ba8a91e3 100644 --- a/CRM/Report/Form/Contact/Detail.php +++ b/CRM/Report/Form/Contact/Detail.php @@ -361,7 +361,13 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form { array( 'dao' => 'CRM_Core_DAO_Phone', 'fields' => - array('phone' => NULL), + array( + 'phone' => NULL, + 'phone_ext' => + array( + 'title' => ts('Phone Extension') + ) + ), 'grouping' => 'contact-fields', ), ); diff --git a/CRM/Report/Form/Contact/Summary.php b/CRM/Report/Form/Contact/Summary.php index 9e1330d0e3..83acddd707 100644 --- a/CRM/Report/Form/Contact/Summary.php +++ b/CRM/Report/Form/Contact/Summary.php @@ -172,7 +172,13 @@ class CRM_Report_Form_Contact_Summary extends CRM_Report_Form { array( 'dao' => 'CRM_Core_DAO_Phone', 'fields' => - array('phone' => NULL), + array( + 'phone' => NULL, + 'phone_ext' => + array( + 'title' => ts('Phone Extension') + ) + ), 'grouping' => 'contact-fields', ), 'civicrm_group' => -- 2.25.1