mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
Create time filter as longs when sending to ES
This commit is contained in:
parent
ee83ae5932
commit
34f8c88c28
@ -411,8 +411,8 @@ angular.module('kibana.services', [])
|
|||||||
{
|
{
|
||||||
case 'time':
|
case 'time':
|
||||||
return ejs.RangeFilter(filter.field)
|
return ejs.RangeFilter(filter.field)
|
||||||
.from(filter.from)
|
.from(filter.from.valueOf())
|
||||||
.to(filter.to);
|
.to(filter.to.valueOf());
|
||||||
case 'range':
|
case 'range':
|
||||||
return ejs.RangeFilter(filter.field)
|
return ejs.RangeFilter(filter.field)
|
||||||
.from(filter.from)
|
.from(filter.from)
|
||||||
|
Loading…
Reference in New Issue
Block a user