diff --git a/app/logical/post_query_builder.rb b/app/logical/post_query_builder.rb index f7f3e6124..19191ee4c 100644 --- a/app/logical/post_query_builder.rb +++ b/app/logical/post_query_builder.rb @@ -141,7 +141,7 @@ class PostQueryBuilder relation = relation.where("posts.is_banned = TRUE") elsif q[:status] == "all" || q[:status] == "any" # do nothing - elsif q[:status_neg] == "pending" + elsif q[:status_neg] == "pending" || q[:status] == "active" relation = relation.where("posts.is_pending = FALSE") elsif q[:status_neg] == "flagged" relation = relation.where("posts.is_flagged = FALSE")