diff --git a/app/grants/views.py b/app/grants/views.py index d833153ed05..ed5f516616a 100644 --- a/app/grants/views.py +++ b/app/grants/views.py @@ -131,7 +131,7 @@ def grant_details(request, grant_id, grant_slug): milestones = grant.milestones.order_by('due_date') updates = grant.updates.order_by('-created_on') subscriptions = grant.subscriptions.filter(active=True, error=False) - cancelled_subscriptions = grant.subscriptions.filter(Q(active=False, error=False) | Q(error=True)) + cancelled_subscriptions = grant.subscriptions.filter(active=False, error=False) contributions = Contribution.objects.filter(subscription__in=grant.subscriptions.all()) user_subscription = grant.subscriptions.filter(contributor_profile=profile, active=True).first() user_non_errored_subscription = grant.subscriptions.filter(contributor_profile=profile, active=True, error=False).first()