CRM-20539 Do not heed dao default for field when setting defaults on reports
authoreileen <emcnaughton@wikimedia.org>
Tue, 9 May 2017 03:12:35 +0000 (15:12 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 9 May 2017 03:12:35 +0000 (15:12 +1200)
CRM/Report/Form.php

index 1ecc52d633ddb7a1344aa59441182d51dca32e9c..fef27a347a774d8852fe8364eae65e60d789a06b 100644 (file)
@@ -714,7 +714,7 @@ class CRM_Report_Form extends CRM_Core_Form {
         }
       }
 
-      $doNotCopy = array('required');
+      $doNotCopy = array('required', 'default');
 
       $fieldGroups = array('fields', 'filters', 'group_bys', 'order_bys');
       foreach ($fieldGroups as $fieldGrp) {