Do not build data histogram infinitely when overriding aggregation with auto mode

This commit is contained in:
Daniel García Aubert
2017-08-02 12:06:10 +02:00
parent 9034508244
commit 0a57e86cb8
+1
View File
@@ -447,6 +447,7 @@ Histogram.prototype._buildDateHistogramQuery = function (psql, override, callbac
} else {
this.aggregation = aggregation;
}
override.aggregation = this.aggregation;
this._buildDateHistogramQuery(psql, override, callback);
}.bind(this));
return null;