mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Track how many user flags are agreed/disagreed/ignored
Display the percentage when reviewing flags.
This commit is contained in:
@@ -206,7 +206,7 @@ module FlagQuery
|
||||
results = PostAction
|
||||
.flags
|
||||
.active
|
||||
.includes(post: [:user, :topic])
|
||||
.includes(post: [{ user: :user_stat }, :topic])
|
||||
.references(:post)
|
||||
.where("posts.user_id > 0")
|
||||
.order('post_actions.created_at DESC')
|
||||
|
Reference in New Issue
Block a user