~netlandish/django-wiki

fda4f4843e1692250a233eecd619687eb69286ce — Benjamin Bach 4 years ago 56ed421
Notification settings for people who edited 0 articles
1 files changed, 2 insertions(+), 1 deletions(-)

M src/wiki/plugins/notifications/forms.py
M src/wiki/plugins/notifications/forms.py => src/wiki/plugins/notifications/forms.py +2 -1
@@ 97,7 97,8 @@ class BaseSettingsFormSet(BaseModelFormSet):
    def get_queryset(self):
        return Settings.objects.filter(
            user=self.user,
            subscription__articlesubscription__article__current_revision__deleted=False,
        ).exclude(
            subscription__articlesubscription__article__current_revision__deleted=True,
        ).prefetch_related(
            'subscription_set__articlesubscription',
        ).order_by('is_default').distinct()