mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
Non-wrapped things deserve to be counted too.
This commit is contained in:
@@ -392,8 +392,8 @@ class QueryBuilder(Builder):
|
||||
if not (self.must_skip(i) or self.skip and not self.keep_item(i)):
|
||||
items.append(i)
|
||||
num_have += 1
|
||||
count = count - 1 if self.reverse else count + 1
|
||||
if self.wrap:
|
||||
count = count - 1 if self.reverse else count + 1
|
||||
i.num = count
|
||||
last_item = i
|
||||
|
||||
|
||||
Reference in New Issue
Block a user