fix issue with using 'skip()' when a filter is present
calling skip() skips over unfiltered items and does not apply the filter expression to them, which is not what should happen
This commit is contained in:
@@ -33,7 +33,7 @@ class Job():
|
||||
predicates.append(util.FilterPredicate(image["filter"]))
|
||||
if "range" in image:
|
||||
pred = util.RangePredicate(image["range"])
|
||||
if pred.lower > 1:
|
||||
if pred.lower > 1 and "filter" not in image:
|
||||
pred.index += self.extractor.skip(pred.lower - 1)
|
||||
predicates.append(pred)
|
||||
self.pred_url = util.build_predicate(predicates)
|
||||
|
||||
Reference in New Issue
Block a user