Skip to content

Commit

Permalink
Merge pull request #11 from dachcom-digital/feature/aggregation-filte…
Browse files Browse the repository at this point in the history
…r-template-improvements

template improvements for aggregation filter (#10)
  • Loading branch information
benwalch authored Mar 22, 2022
2 parents d16c01b + 31331e1 commit eee2dde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Upgrade Notes

### 1.2.0
- [FEATURE] Aggregation filter template improvements [#10](https://github.com/dachcom-digital/pimcore-dynamic-search-index-provider-elasticsearch/issues/10)

### 1.1.1
- [BUGFIX] Fix field for filter's term query [#7](https://github.com/dachcom-digital/pimcore-dynamic-search-index-provider-elasticsearch/issues/7)
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ public function buildViewVars(RawResultInterface $rawResult, $filterValues, $que
$response = $rawResult->getParameter('fullDatabaseResponse');

$viewVars = [
'template' => sprintf('%s/aggregation.html.twig', self::VIEW_TEMPLATE_PATH),
'name' => $this->name,
'template' => [sprintf('%s/%s.html.twig', self::VIEW_TEMPLATE_PATH, $this->name), sprintf('%s/aggregation.html.twig', self::VIEW_TEMPLATE_PATH)],
'label' => $this->options['label'],
'multiple' => $this->options['multiple'],
'values' => [],
Expand Down

0 comments on commit eee2dde

Please sign in to comment.