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:
ff8784d
)
CRM-21155 - Hook batchItems does not change the csv export
author
Erik Hommel
<hommel@ee-atwork.nl>
Wed, 6 Sep 2017 10:18:07 +0000
(12:18 +0200)
committer
GitHub
<noreply@github.com>
Wed, 6 Sep 2017 10:18:07 +0000
(12:18 +0200)
Change to use results of hook when exporting.
CRM/Financial/BAO/ExportFormat/CSV.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Financial/BAO/ExportFormat/CSV.php
b/CRM/Financial/BAO/ExportFormat/CSV.php
index fcb0d05c349b1aa20f5d3605a6449abc0f24d3c0..1b3513cba1916ecb3ccd10f50c775e1abcd9edd5 100644
(file)
--- a/
CRM/Financial/BAO/ExportFormat/CSV.php
+++ b/
CRM/Financial/BAO/ExportFormat/CSV.php
@@
-231,8
+231,8
@@
class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat
CRM_Utils_Hook::batchItems($queryResults, $batchItems);
- $
financialItems['headers'] = self::formatHeaders($financial
Items);
- self::export($
financial
Items);
+ $
batchItems['headers'] = self::formatHeaders($batch
Items);
+ self::export($
batch
Items);
}
parent::initiateDownload();
}