mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 05:48:23 +08:00
This reverts commit c0bcd979e38134989b9023b75738caa743d2e092.
This commit is contained in:

committed by
GitHub

parent
367040024b
commit
9e4e591d60
@ -73,7 +73,7 @@ module BadgeQueries
|
||||
SELECT pa.user_id, min(pa.id) id
|
||||
FROM post_actions pa
|
||||
JOIN badge_posts p on p.id = pa.post_id
|
||||
WHERE post_action_type_id IN (#{PostActionType.flag_types_without_additional_message.values.join(",")}) AND
|
||||
WHERE post_action_type_id IN (#{PostActionType.flag_types_without_custom.values.join(",")}) AND
|
||||
(:backfill OR pa.post_id IN (:post_ids) )
|
||||
GROUP BY pa.user_id
|
||||
) x
|
||||
|
Reference in New Issue
Block a user