fixes #2488: Pool gallery has pools missing from the list

This commit is contained in:
r888888888
2015-08-13 11:46:09 -07:00
parent 76c65a8598
commit 86f0db5912
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ class PostPresenter < Presenter
return "Expunged"
end
if post.is_deleted? && options[:tags] !~ /status:(?:all|any|deleted|banned)/ && !options[:raw]
if !options[:show_deleted] && post.is_deleted? && options[:tags] !~ /status:(?:all|any|deleted|banned)/ && !options[:raw]
return ""
end