From: eileen Date: Tue, 2 Aug 2016 22:42:06 +0000 (+1200) Subject: CRM-19167 add is_deceased filter to contact detail report X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=42c21f19f14a1cb8be2f125e9ec2ad7bb64bca93;p=civicrm-core.git CRM-19167 add is_deceased filter to contact detail report --- diff --git a/CRM/Report/Form/Contact/Detail.php b/CRM/Report/Form/Contact/Detail.php index f738138a08..417cf07e07 100644 --- a/CRM/Report/Form/Contact/Detail.php +++ b/CRM/Report/Form/Contact/Detail.php @@ -45,8 +45,7 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form { ); /** - */ - /** + * Class constructor. */ public function __construct() { $this->_autoIncludeIndexedFieldsAsOrderBys = 1; @@ -89,30 +88,7 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form { 'title' => ts('Contact Subtype'), ), ), - 'filters' => array( - 'id' => array( - 'title' => ts('Contact ID'), - 'no_display' => TRUE, - ), - 'sort_name' => array( - 'title' => ts('Contact Name'), - ), - 'gender_id' => array( - 'title' => ts('Gender'), - 'operatorType' => CRM_Report_Form::OP_MULTISELECT, - 'options' => CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'gender_id'), - ), - 'birth_date' => array( - 'title' => ts('Birth Date'), - 'operatorType' => CRM_Report_Form::OP_DATE, - ), - 'contact_type' => array( - 'title' => ts('Contact Type'), - ), - 'contact_sub_type' => array( - 'title' => ts('Contact Subtype'), - ), - ), + 'filters' => $this->getBasicContactFilters(), 'grouping' => 'contact-fields', 'order_bys' => array( 'sort_name' => array(