Skip to content

Commit 8cbd5d1

Browse files
committed
[BUGFIX] Set addSubAggregation to protected method
- fix method documentation
1 parent 0d17918 commit 8cbd5d1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Eel/ElasticSearchQueryBuilder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,8 @@ public function fieldBasedAggregation($name, $field, $type = "terms", $parentPat
436436
*
437437
* aggregationDefinition = TYPO3.TypoScript:RawArray {
438438
* terms = TYPO3.TypoScript:RawArray {
439-
* field = "color"
439+
* field = "color"
440+
* }
440441
* }
441442
*
442443
* nodes = ${Search....aggregation("color", this.aggregationDefinition).execute()}
@@ -475,7 +476,7 @@ public function aggregation($name, array $aggregationDefinition, $parentPath = N
475476
* @return $this
476477
* @throws QueryBuildingException
477478
*/
478-
public function addSubAggregation($parentPath, $name, $aggregationConfiguration) {
479+
protected function addSubAggregation($parentPath, $name, $aggregationConfiguration) {
479480
// Find the parentPath
480481
$path =& $this->request['aggregations'];
481482

0 commit comments

Comments
 (0)