CRM-19137 - Add source as a filter on the contribution details report
authoreileen <emcnaughton@wikimedia.org>
Wed, 27 Jul 2016 23:46:57 +0000 (11:46 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 27 Jul 2016 23:47:28 +0000 (11:47 +1200)
CRM/Report/Form/Contribute/Detail.php

index bb0d6e4a1a9cc8dd114e4f2c25163269fa182ede..e80dfb4362a852bff9cd08d0f6ada592935dcaf9 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
  */
 class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
   protected $_addressField = FALSE;
@@ -213,6 +211,11 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form {
             ),
           ),
           'receive_date' => array('operatorType' => CRM_Report_Form::OP_DATE),
+          'contribution_source' => array(
+            'title' => ts('Source'),
+            'name' => 'source',
+            'type' => CRM_Utils_Type::T_STRING,
+          ),
           'currency' => array(
             'title' => 'Currency',
             'operatorType' => CRM_Report_Form::OP_MULTISELECT,