Skip to content

Commit

Permalink
Fix behavior in hide_untranslated
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Dec 3, 2014
1 parent 6364610 commit 877c000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_blog/views.py
Expand Up @@ -17,7 +17,7 @@ class BaseBlogView(ViewUrlMixin):

def get_queryset(self):
language = get_language()
queryset = self.model._default_manager.language(language_code=language)
queryset = self.model._default_manager.active_translations(language_code=language)
if not self.request.toolbar or not self.request.toolbar.edit_mode:
queryset = queryset.published()
return queryset.on_site()
Expand Down

0 comments on commit 877c000

Please sign in to comment.