CRM-21670 - Search of active relationships does not appear on Relationship Report
authorfrancescbassas <francesc@babu.cat>
Wed, 17 Jan 2018 12:44:57 +0000 (13:44 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2018 12:44:57 +0000 (13:44 +0100)
https://issues.civicrm.org/jira/browse/CRM-21670

CRM/Report/Form/Contact/Relationship.php

index 5955267d2f55b0953d4597cafd0aae568466e391..df48628dcccb8538f2b3b87d469d3224e5a21937 100644 (file)
@@ -304,6 +304,10 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form {
             'title' => ts('End Date'),
             'type' => CRM_Utils_Type::T_DATE,
           ),
+          'active_period_date' => array(
+            'title' => ts('Active Period'),
+            'type' => CRM_Utils_Type::T_DATE,
+          ),
           'is_permission_a_b' => array(
             'title' => ts('Does contact A have permission over contact B?'),
             'operatorType' => CRM_Report_Form::OP_SELECT,
@@ -331,10 +335,6 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form {
             'title' => ts('Start Date'),
             'name' => 'start_date',
           ),
-          'active_period_date' => array(
-            'title' => ts('Active Period'),
-            'type' => CRM_Utils_Type::T_DATE,
-          ),
         ),
         'grouping' => 'relation-fields',
       ),