Commit 34f8c88c by Rashid Khan

Create time filter as longs when sending to ES

parent ee83ae59
......@@ -411,8 +411,8 @@ angular.module('kibana.services', [])
{
case 'time':
return ejs.RangeFilter(filter.field)
.from(filter.from)
.to(filter.to);
.from(filter.from.valueOf())
.to(filter.to.valueOf());
case 'range':
return ejs.RangeFilter(filter.field)
.from(filter.from)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment