~netlandish/django-wiki

393af488e508a81d1eebf5cef8b77b4b848ab7f4 — Benjamin Bach 7 years ago 6b2cb1a + 785fb22
Merge pull request #582 from duvholt/search-duplicates

Fix duplicate search results
1 files changed, 1 insertions(+), 1 deletions(-)

M wiki/managers.py
M wiki/managers.py => wiki/managers.py +1 -1
@@ 43,7 43,7 @@ class ArticleQuerySet(QuerySet):
            q = self.filter(Q(other_read=True) |
                            Q(owner=user) |
                            (Q(group__user=user) & Q(group_read=True))
                            )
                            ).distinct()
        return q

    def can_write(self, user):