multiplier should not have been changed

This commit is contained in:
Neil Lalonde 2017-04-12 14:39:59 -04:00
parent d34dd4ed4f
commit 2916b45666
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class UserNotifications < ActionMailer::Base
.for_mailing_list(user, min_date)
.where('posts.post_type = ?', Post.types[:regular])
.where('posts.deleted_at IS NULL AND posts.hidden = false AND posts.user_deleted = false')
.where("posts.post_number > ? AND posts.score > ?", 1, ScoreCalculator.default_score_weights[:like_score] * 1.0)
.where("posts.post_number > ? AND posts.score > ?", 1, ScoreCalculator.default_score_weights[:like_score] * 5.0)
.limit(SiteSetting.digest_posts)
else
[]