diff --git a/backend/core/models.py b/backend/core/models.py index 5ab669cfd..0ba763a11 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -2778,6 +2778,7 @@ def get_requirements_result_count(self): ( RequirementAssessment.objects.filter(result=rs) .filter(compliance_assessment=self) + .filter(requirement__assessable=True) .count(), rs, )