Skip to content

Commit

Permalink
Merge pull request #12 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 Aug 9, 2022
2 parents f231111 + 2f8d6cc commit 8c5213a
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,5 +1,8 @@
# Upgrade Notes

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

### 2.0.1
- [BUGFIX] Fix field for filter's term query [#7](https://github.com/dachcom-digital/pimcore-dynamic-search-index-provider-elasticsearch/issues/7)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,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 8c5213a

Please sign in to comment.