Skip to content

Commit a9e7fff

Browse files
author
Simonas Šerlinskas
committed
remove keyed option condition for to have range key
1 parent d90581f commit a9e7fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Aggregation/Bucketing/RangeAggregation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function ($v) {
9090
}
9191
);
9292

93-
if ($this->keyed && !empty($key)) {
93+
if (!empty($key)) {
9494
$range['key'] = $key;
9595
}
9696

0 commit comments

Comments
 (0)