Make suspect report use <= 1 instead of = 0

This commit is contained in:
Robin Ward
2014-12-01 17:15:07 -05:00
parent b547be44b2
commit 9bdac79ba6

View File

@ -43,7 +43,7 @@ class AdminUserIndexQuery
where_conds = []
# One signal: no reading yet the user has bio text
where_conds << "user_stats.posts_read_count = 0 AND user_stats.topics_entered = 0"
where_conds << "user_stats.posts_read_count <= 1 AND user_stats.topics_entered <= 1"
@query.activated
.references(:user_stats)