mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 22:32:11 +00:00
Fix reaction counting
This commit is contained in:
parent
ac95880bdb
commit
5fa624a0e7
@ -57,7 +57,6 @@ module DiscourseRewind
|
|||||||
.where(posts: { user_id: user.id })
|
.where(posts: { user_id: user.id })
|
||||||
.where(created_at: date)
|
.where(created_at: date)
|
||||||
.group(:reaction_value)
|
.group(:reaction_value)
|
||||||
.limit(5)
|
|
||||||
.count,
|
.count,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user