diff --git a/src/app/features/elasticsearch/datasource.js b/src/app/features/elasticsearch/datasource.js index 0ca8ec853f1..d12cc5d113d 100644 --- a/src/app/features/elasticsearch/datasource.js +++ b/src/app/features/elasticsearch/datasource.js @@ -68,7 +68,7 @@ function (angular, _, config, kbn, moment) { var titleField = annotation.titleField || 'desc'; var textField = annotation.textField || null; - range[annotation.timeField]= { + range[timeField]= { from: rangeUnparsed.from, to: rangeUnparsed.to, };