We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e26b534 commit 812ef89Copy full SHA for 812ef89
1 file changed
src/plugins/data/common/search/aggs/buckets/histogram.ts
@@ -159,7 +159,7 @@ export const getHistogramBucketAgg = ({
159
serialize(val, aggConfig) {
160
// store actually used auto interval in serialized agg config to be able to read it from the result data table meta information
161
const autoBounds = aggConfig?.getAutoBounds();
162
- if (aggConfig && autoBounds) {
+ if (val === autoInterval && aggConfig && autoBounds) {
163
const usedInterval = calculateHistogramInterval({
164
values: autoBounds,
165
interval: aggConfig.params.interval,
0 commit comments