Skip to content
Snippets Groups Projects
Commit 69f96a5d authored by jaapjansma's avatar jaapjansma
Browse files

Fixed issue with exporting records not filtering before export.

parent 28a50ade
No related branches found
No related tags found
No related merge requests found
# Version 1.113 (not yet released)
* Fixed issue with search output where all records are selected by default
* Fixed issue with exporting records not filtering before export.
# Version 1.112
......
......@@ -222,6 +222,7 @@ abstract class CRM_DataprocessorOutputExport_AbstractOutputExport implements Exp
*/
public function downloadExport(AbstractProcessorType $dataProcessorClass, $dataProcessor, $outputBAO, $formValues, $sortFieldName = null, $sortDirection = 'ASC', $idField=null, $selectedIds=array(), bool $redirectBack = false) {
try {
CRM_Dataprocessor_Form_Output_AbstractUIOutputForm::applyFilters($dataProcessorClass, $formValues);
static::addSelectedIdsFilterToDataProcessor($dataProcessorClass, $idField, $selectedIds);
$count = CRM_Dataprocessor_Form_Output_AbstractUIOutputForm::getCount($dataProcessorClass, $formValues);
if ($count > $this->getMaxDirectDownload()) {
......
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