Fix merge_into_home
This commit is contained in:
parent
8df4c78281
commit
dd28e7d99f
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class FeedManager
|
|||
|
||||
if redis.zcard(timeline_key) >= FeedManager::MAX_ITEMS / 4
|
||||
oldest_home_score = redis.zrange(timeline_key, 0, 0).first.to_i
|
||||
query = query.where('id >= ?', oldest_home_score)
|
||||
query = query.where('statuses.id >= ?', oldest_home_score)
|
||||
end
|
||||
|
||||
statuses = query.to_a
|
||||
|
|
Loading…
Reference in a new issue