We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41315c commit 2d24398Copy full SHA for 2d24398
lib/internal/Magento/Framework/Search/Request/Cleaner.php
@@ -130,9 +130,8 @@ private function cleanAggregations()
130
foreach ($this->requestData['aggregations'] as $aggregationName => $aggregationValue) {
131
switch ($aggregationValue['type']) {
132
case 'dynamicBucket':
133
- if (
134
- !array_key_exists('is_bind', $aggregationValue)
135
- && is_string($aggregationValue['method'])
+ if (is_string($aggregationValue['method'])
+ && preg_match('/^\$(.+)\$$/si', $aggregationValue['method'])
136
) {
137
unset($this->requestData['aggregations'][$aggregationName]);
138
}
0 commit comments