mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: incorrect stat for topics_entered in user directory
This commit is contained in:
parent
5fcd5002c4
commit
fe684fdfb8
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ class DirectoryItem < ActiveRecord::Base
|
|||
UPDATE directory_items di SET
|
||||
likes_received = x.likes_received,
|
||||
likes_given = x.likes_given,
|
||||
topics_entered = x.likes_given,
|
||||
topics_entered = x.topics_entered,
|
||||
days_visited = x.days_visited,
|
||||
posts_read = x.posts_read,
|
||||
topic_count = x.topic_count,
|
||||
|
@ -102,7 +102,7 @@ class DirectoryItem < ActiveRecord::Base
|
|||
di.period_type = :period_type AND (
|
||||
di.likes_received <> x.likes_received OR
|
||||
di.likes_given <> x.likes_given OR
|
||||
di.topics_entered <> x.likes_given OR
|
||||
di.topics_entered <> x.topics_entered OR
|
||||
di.days_visited <> x.days_visited OR
|
||||
di.posts_read <> x.posts_read OR
|
||||
di.topic_count <> x.topic_count OR
|
||||
|
|
Loading…
Reference in a new issue