poprawka rankingu testów
This commit is contained in:
parent
1edd16a29e
commit
b36fa50cef
|
@ -717,7 +717,7 @@ public class GroupService {
|
|||
float score = 0;
|
||||
LeaderboardDTO user = new LeaderboardDTO();
|
||||
for (UserActivity a : m.getUser().getActivityTo()) {
|
||||
if(a.getType() == "solvedTest")
|
||||
if(a.getType().equalsIgnoreCase("solvedTest"))
|
||||
score += a.getPoints();
|
||||
}
|
||||
user.setUsername(m.getUser().getUsername());
|
||||
|
|
Loading…
Reference in New Issue