/**
  * {@inheritdoc}
  */
 protected function addGroupByStatement()
 {
     parent::addGroupByStatement();
     if (!empty($this->groupingColumns)) {
         $this->config->offsetSetByPath('[source][query][groupBy]', implode(', ', $this->groupingColumns));
     }
 }
 /**
  * {@inheritdoc}
  */
 protected function addWhereStatement()
 {
     parent::addWhereStatement();
     if (!empty($this->filters)) {
         $this->restrictionBuilder->buildRestrictions($this->filters, new GroupingOrmFilterDatasourceAdapter($this->qb));
     }
 }