Skip to content

Commit

Permalink
Merge pull request #871 from zestedesavoir/issue_866
Browse files Browse the repository at this point in the history
masque les articles en brouillon
  • Loading branch information
dralliw committed Jun 12, 2014
2 parents 4607389 + 790ddac commit b7b9d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/article/views.py
Expand Up @@ -341,7 +341,7 @@ def find_article(request, name):
"""Find an article from his author."""
user = get_object_or_404(User, pk=name)
articles = Article.objects\
.filter(authors__in=[user])\
.filter(authors__in=[user], sha_public__isnull=False)\
.order_by('-pubdate')\
.all()
# Paginator
Expand Down

0 comments on commit b7b9d80

Please sign in to comment.