mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
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:
commit
68bca7b799
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue