Fix duplicate search results
1 files changed, 1 insertions(+), 1 deletions(-) M wiki/views/article.py
M wiki/views/article.py => wiki/views/article.py +1 -1
@@ 595,7 595,7 @@ class SearchView(ListView): if not permissions.can_moderate( models.URLPath.root().article, self.request.user): articles = articles.active().can_read(self.request.user) articles = articles.active().can_read(self.request.user).distinct() return articles def get_context_data(self, **kwargs):