algorithm no longer awards points for inactive keywords
This commit is contained in:
parent
a98c214bcd
commit
9263fef170
@ -246,7 +246,7 @@ public class GreedyMatchingAlgorithm implements MatchingAlgorithm {
|
||||
|
||||
for (Keyword projectIdeaKeyword : projectIdea.getKeywords().getAll()) {
|
||||
for (Keyword supervisorKeyword : supervisor.getKeywords().getFiltered(projectIdeaKeyword.getType())) {
|
||||
if (projectIdeaKeyword.equals(supervisorKeyword)) {
|
||||
if (projectIdeaKeyword.equals(supervisorKeyword) && !projectIdeaKeyword.isDeleted() && !supervisorKeyword.isDeleted()) {
|
||||
points += weights.getPoints(projectIdeaKeyword.getType());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user