Skip to content
Snippets Groups Projects
Verified Commit e9789e08 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas: Committed by Kevin Cristiano
Browse files

patch CiviCRM Export to Excel

parent 6c2f6e5d
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,9 @@ class CRM_Report_Form extends CRM_Core_Form {
*/
protected $_groupFilter = FALSE;
// [ML] Required for civiexportexcel
public $supportsExportExcel = TRUE;
/**
* Has the report been optimised for group filtering.
*
......@@ -3494,6 +3497,9 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND
elseif ($this->_outputMode == 'csv') {
CRM_Report_Utils_Report::export2csv($this, $rows);
}
elseif ($this->_outputMode == 'excel2007') {
CRM_CiviExportExcel_Utils_Report::export2excel2007($this, $rows);
}
elseif ($this->_outputMode == 'group') {
$group = $this->_params['groups'];
$this->add2group($group);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment