Просмотр исходного кода

Fixed default '@timestamp' time field for elasticsearch annotations, Fixes #1444

Torkel Ödegaard 11 лет назад
Родитель
Сommit
2de6f3434c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/features/elasticsearch/datasource.js

+ 1 - 1
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,
       };