[indexPattern/toIndexList] fix broken test

This commit is contained in:
spalger 2015-11-03 14:55:38 -06:00
parent b5bd76d228
commit 14bef6cdd9

View file

@ -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 {