projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c709477
)
Print report or export report if user have access report permission
author
Pradeep Nayak
<pradpnayak@gmail.com>
Sat, 28 May 2022 09:53:18 +0000
(10:53 +0100)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Sat, 28 May 2022 09:53:18 +0000
(10:53 +0100)
CRM/Report/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form.php
b/CRM/Report/Form.php
index 3ce289b632ece55c19e3bc5faf981c1820036319..a06ce0ca74644a9227bfe1cd547ce59375a2b7f1 100644
(file)
--- a/
CRM/Report/Form.php
+++ b/
CRM/Report/Form.php
@@
-3014,7
+3014,9
@@
WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
// fields array is missing because form building etc is skipped
// in dashboard mode for report
//@todo - this could be done in the dashboard no we have a setter
- if (empty($this->_params['fields']) && !$this->_noFields) {
+ if (empty($this->_params['fields']) && !$this->_noFields
+ && empty($this->_params['task'])
+ ) {
$this->setParams($this->_formValues);
}