Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed error when having multi lingual blog entries.

  • Loading branch information...
commit 7d7818ec9f9d142acf6c0698546be16a04f57cb4 1 parent 914a17a
@hpoul authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cmsplugin_blog/urls.py
View
2  cmsplugin_blog/urls.py
@@ -79,7 +79,7 @@ def blog_archive_tagged(request, **kwargs):
def blog_archive_author(request, **kwargs):
author = kwargs.pop('author')
- kwargs['queryset'] = kwargs['queryset'].published().filter(entrytitle__author__username=author)
+ kwargs['queryset'] = kwargs['queryset'].published().filter(entrytitle__author__username=author).distinct()
kwargs['extra_context'] = {
'author': author,
}
Please sign in to comment.
Something went wrong with that request. Please try again.