posts: fixup flagger: metatag.

Fix regression in 01a22930e.
This commit is contained in:
evazion
2022-04-06 23:48:41 -05:00
parent 01a22930e7
commit 86de5cb5d2
3 changed files with 22 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ class PostQueryBuilder
when "approver"
relation.approver_matches(value)
when "flagger"
relation.flagger_matches(value)
relation.flagger_matches(value, current_user)
when "appealer"
relation.user_subquery_matches(PostAppeal.unscoped, value)
when "commenter", "comm"