diff --git a/lib/philomena/posts/query.ex b/lib/philomena/posts/query.ex index 305a8ccd..c626f7fa 100644 --- a/lib/philomena/posts/query.ex +++ b/lib/philomena/posts/query.ex @@ -60,9 +60,6 @@ defmodule Philomena.Posts.Query do mod_literal_fields = ~W(forum_id topic_id user_id author fingerprint) mod_ip_fields = ~W(ip) mod_bool_fields = ~W(anonymous deleted) - mod_aliases = %{ - "deleted" => "hidden_from_users" - } mod_custom = user_custom -- ~W(author user_id) mod_transforms = Map.drop(user_transforms, ["user_id", "author"]) @@ -96,7 +93,6 @@ defmodule Philomena.Posts.Query do bool_fields: mod_bool_fields, custom_fields: mod_custom, transforms: mod_transforms, - aliases: mod_aliases, default_field: default_field )