From 877c0008c146d13c7f2cc079aab706fcf764502a Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Wed, 3 Dec 2014 19:51:16 +0100 Subject: [PATCH] Fix behavior in hide_untranslated --- djangocms_blog/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangocms_blog/views.py b/djangocms_blog/views.py index e4dd77e..860a753 100644 --- a/djangocms_blog/views.py +++ b/djangocms_blog/views.py @@ -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()