removing unneeded _isDateHistogram function
This commit is contained in:
@@ -205,14 +205,7 @@ module.exports = class DateHistogram extends BaseDataview {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (this._isDateHistogram(override)) {
|
||||
return this._buildQuery(psql, override, callback);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
_isDateHistogram (override) {
|
||||
return this._columnType === 'date' && (this.aggregation !== undefined || override.aggregation !== undefined);
|
||||
return this._buildQuery(psql, override, callback);
|
||||
}
|
||||
|
||||
_buildQueryTpl (ctx) {
|
||||
|
||||
Reference in New Issue
Block a user