CRM-21449 - add location field to activity report.
authorJamie McClelland <jm@mayfirst.org>
Fri, 17 Nov 2017 21:19:55 +0000 (16:19 -0500)
committerJamie McClelland <jm@mayfirst.org>
Fri, 17 Nov 2017 21:19:55 +0000 (16:19 -0500)
CRM/Report/Form/Activity.php

index 2a0a6798c18f9b10732c533188ad55848162804b..ede7d340c68fe6fcdac42bf44768bb2a57b8129c 100644 (file)
@@ -253,6 +253,10 @@ class CRM_Report_Form_Activity extends CRM_Report_Form {
             'title' => ts('Duration'),
             'type' => CRM_Utils_Type::T_INT,
           ),
+          'location' => array(
+            'title' => ts('Location'),
+            'type' => CRM_Utils_Type::T_STRING,
+          ),
           'details' => array(
             'title' => ts('Activity Details'),
           ),
@@ -279,6 +283,10 @@ class CRM_Report_Form_Activity extends CRM_Report_Form {
             'operatorType' => CRM_Report_Form::OP_MULTISELECT,
             'options' => CRM_Core_PseudoConstant::activityStatus(),
           ),
+          'location' => array(
+            'title' => ts('Location'),
+            'type' => CRM_Utils_Type::T_TEXT,
+          ),
           'details' => array(
             'title' => ts('Activity Details'),
             'type' => CRM_Utils_Type::T_TEXT,