FIX: Don't include flags on non-human users
This commit is contained in:
parent
b3ffa19f95
commit
81f2b38b78
|
@ -163,6 +163,8 @@ module FlagQuery
|
|||
.flags
|
||||
.active
|
||||
.includes(post: [:user, :topic])
|
||||
.references(:post)
|
||||
.where("posts.user_id > 0")
|
||||
.order('post_actions.created_at DESC')
|
||||
|
||||
ft_by_id = {}
|
||||
|
|
Loading…
Reference in New Issue