field fix for contact_type and contact_subtype
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 28 Apr 2015 11:17:49 +0000 (16:47 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Tue, 28 Apr 2015 11:17:49 +0000 (16:47 +0530)
CRM/Report/Form/Contribute/TopDonor.php

index 1f2a4c0dc94533640f7c1232952968cce702d3ab..890508b5b7640c58df1fa58affd2deba512231a7 100644 (file)
@@ -98,6 +98,12 @@ class CRM_Report_Form_Contribute_TopDonor extends CRM_Report_Form {
             'operatorType' => CRM_Report_Form::OP_MULTISELECT,
             'options' => CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'gender_id'),
           ),
+          'contact_type' => array(
+            'title' => ts('Contact Type'),
+          ),
+          'contact_sub_type' => array(
+            'title' => ts('Contact Subtype'),
+          ),
         ),
       ),
     );
@@ -133,12 +139,6 @@ class CRM_Report_Form_Contribute_TopDonor extends CRM_Report_Form {
             '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'),
-          ),
           'receive_date' => array(
             'default' => 'this.year',
             'operatorType' => CRM_Report_Form::OP_DATE,