Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Show hidden submissions in moderator listings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bboe authored and kemitche committed Dec 31, 2012
1 parent be5fb02 commit deb857f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/controllers/front.py
Expand Up @@ -514,7 +514,7 @@ def _make_spamlisting(self, location, num, after, reverse, count):

def keep_fn(x):
# no need to bother mods with banned users, or deleted content
if getattr(x,'hidden',False) or x._deleted:
if x._deleted:
return False
if getattr(x,'author',None) == c.user and c.user._spam:
return False
Expand Down

0 comments on commit deb857f

Please sign in to comment.