mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
parent
d1d47b5697
commit
0a1c2a7024
@ -119,8 +119,12 @@ function (queryDef) {
|
||||
query.fields = ["*", "_source"];
|
||||
}
|
||||
|
||||
query.script_fields = {},
|
||||
query.docvalue_fields = [this.timeField];
|
||||
query.script_fields = {};
|
||||
if (this.esVersion < 5) {
|
||||
query.fielddata_fields = [this.timeField];
|
||||
} else {
|
||||
query.docvalue_fields = [this.timeField];
|
||||
}
|
||||
return query;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user