[indexPattern/toIndexList] fix broken test
This commit is contained in:
parent
b5bd76d228
commit
14bef6cdd9
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ define(function (require) {
|
|||
|
||||
if (interval) {
|
||||
indexList = intervals.toIndexList(self.id, interval, start, stop);
|
||||
if (sortDirection === 'desc') sortDirection = sortDirection.reverse();
|
||||
if (sortDirection === 'desc') indexList = indexList.reverse();
|
||||
} else if (self.isWildcard() && self.hasTimeField()) {
|
||||
indexList = calculateIndices(self.id, self.timeFieldName, start, stop, sortDirection);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue