Skip to content

Commit

Permalink
Limit results metrics to assessable
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Dec 8, 2024
1 parent 7bc2cee commit ccecf7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit ccecf7e

Please sign in to comment.