fix for follow_count with compute scores

This commit is contained in:
Kyle Drake 2017-04-05 05:02:43 -07:00
parent 0d2e2afb35
commit f1f91763fb

View file

@ -1269,7 +1269,7 @@ class Site < Sequel::Model
def compute_score
points = 0
points += follow_count * 30
points += (follow_count || 0) * 30
points += profile_comments_dataset.count * 1
points += views / 1000
points += 20 if !featured_at.nil?