Eileen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/352966 )

Change subject: CRM-20539 Do not heed dao default for field when setting 
defaults on reports
......................................................................

CRM-20539 Do not heed dao default for field when setting defaults on reports

Upstream PR https://github.com/civicrm/civicrm-core/pull/10319/commits

This is to allow defaults to save properly on the mailing report

Bug: T161758
Change-Id: I7cc2bb5c831fe14a1a034825025513941717f2c4
---
M CRM/Report/Form.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm 
refs/changes/66/352966/1

diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php
index de0ad12..8e21765 100644
--- a/CRM/Report/Form.php
+++ b/CRM/Report/Form.php
@@ -715,7 +715,7 @@
         $expFields = array();
       }
 
-      $doNotCopy = array('required');
+      $doNotCopy = array('required', 'default');
 
       $fieldGroups = array('fields', 'filters', 'group_bys', 'order_bys');
       foreach ($fieldGroups as $fieldGrp) {

-- 
To view, visit https://gerrit.wikimedia.org/r/352966
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7cc2bb5c831fe14a1a034825025513941717f2c4
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to