Create time filter as longs when sending to ES

This commit is contained in:
Rashid Khan 2013-07-25 13:48:18 -07:00
parent ee83ae5932
commit 34f8c88c28

View File

@ -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)