make aggregators take role into accoutn

This commit is contained in:
2016-01-26 11:46:36 +01:00
parent b7f92a71cf
commit 8726f6faee
3 changed files with 11 additions and 7 deletions

View File

@@ -74,7 +74,8 @@ class ExportType extends AbstractType
//add aggregators
$aggregators = $this->exportManager
->getAggregatorsApplyingOn($export->supportsModifiers());
->getAggregatorsApplyingOn($export->supportsModifiers(),
$options['picked_centers']);
$aggregatorBuilder = $builder->create('aggregators', 'form',
array('compound' => true));