Skip to content

Commit

Permalink
Use timefilter.getActiveBounds()
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Apr 18, 2017
1 parent 7d38d05 commit bf8ddb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/courier/fetch/strategy/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function SearchStrategyProvider(Private, Promise, timefilter, kbnIndex, s
*/
reqsFetchParamsToBody: function (reqsFetchParams) {
const indexToListMapping = {};
const timeBounds = timefilter.enabled ? timefilter.getBounds() : null;
const timeBounds = timefilter.getActiveBounds();

return Promise.map(reqsFetchParams, function (fetchParams) {
return Promise.resolve(fetchParams.index)
Expand Down

0 comments on commit bf8ddb5

Please sign in to comment.