users: remove 'hide deleted posts' account setting.
This setting automatically added the `-status:deleted` metatag to all searches. This meant deleted posts were filtered out at the database level, rather than at the html level. This way searches wouldn't have less-than-full pages. The cost was that searches were slower, mainly because post counts weren't cached. Normally when you search for a tag, we can get the post count from the tags table. If the search is actually like `touhou -status:deleted`, then we don't know the count and we have to calculate it on demand. This option is being removed because it did the opposite of what people thought it did. People thought it made deleted posts visible, when actually it made them more hidden.
This commit is contained in:
@@ -303,7 +303,7 @@ module ApplicationHelper
|
||||
id name level level_string theme always_resize_images can_upload_free
|
||||
can_approve_posts disable_categorized_saved_searches
|
||||
disable_mobile_gestures disable_post_tooltips enable_safe_mode
|
||||
hide_deleted_posts show_deleted_children style_usernames
|
||||
show_deleted_children style_usernames
|
||||
default_image_size
|
||||
] + User::Roles.map { |role| :"is_#{role}?" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user