Skip to content

Commit

Permalink
Fix on_site filter
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Apr 26, 2016
1 parent e29d621 commit 09b5fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_blog/views.py
Expand Up @@ -44,7 +44,7 @@ def get_queryset(self):
if not getattr(self.request, 'toolbar', False) or not self.request.toolbar.edit_mode:
queryset = queryset.published()
setattr(self.request, get_setting('CURRENT_NAMESPACE'), self.config)
return queryset
return queryset.on_site()

def get_template_names(self):
template_path = (self.config and self.config.template_prefix) or 'djangocms_blog'
Expand Down

0 comments on commit 09b5fe9

Please sign in to comment.