Merge pull request #1679 from rashidkpc/fix/timefilter-as-number

Send time filter as a number to avoid mapping issues. Closes #1558
This commit is contained in:
Spencer 2014-10-15 13:07:41 -07:00
commit 68bca7b799

View file

@ -70,8 +70,8 @@ define(function (require) {
var bounds = this.getBounds();
filter = {range : {}};
filter.range[timefield.name] = {
gte: bounds.min,
lte: bounds.max
gte: bounds.min.valueOf(),
lte: bounds.max.valueOf()
};
}
return filter;