* All users can now view deleted posts.
* Posts now have an is_banned flag for artist removal requests. Basic users can not view banned posts but gold and higher can. * Banning an artist both deletes the post and bans it. * By default deleted posts are not filtered out of post searches at the sql level.
This commit is contained in:
@@ -139,8 +139,6 @@ class PostQueryBuilder
|
||||
relation = relation.where("posts.is_deleted = TRUE")
|
||||
elsif q[:status] == "all" || q[:status] == "any"
|
||||
# do nothing
|
||||
else
|
||||
relation = relation.where("posts.is_deleted <> TRUE")
|
||||
end
|
||||
|
||||
if q[:source]
|
||||
|
||||
Reference in New Issue
Block a user