Skip to content

Commit

Permalink
Only include scores that are output targets #3369
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Dec 10, 2024
1 parent b60c632 commit 8bd1a2f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ class OrganisationService {
List result = []
if (supportedServices) {
result = allServices.findAll{ supportedServices.intersect(it.outputs.formName) }
result.each {
List scores = it.scores?.findAll{Map score -> score.isOutputTarget}
it.scores = scores
}
}

result
Expand Down

0 comments on commit 8bd1a2f

Please sign in to comment.