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': 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)