Skip to content

Commit

Permalink
Merge pull request #141 from axonivy/XIVY-15521-fix-sortby-zero-befor…
Browse files Browse the repository at this point in the history
…e-null

XIVY-15521 fix zero before 0
  • Loading branch information
ivy-jh authored Dec 12, 2024
2 parents e22a59c + 3f8867a commit 725043b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/ivyteam/devops/repo/ReposView.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public boolean test(Repo repo) {

private int getSortingNr(SecurityScanner s) {
if (s == null) {
return 0;
return -1;
}
if (s.critical() != 0) {
return (int) (s.critical() + Math.pow(10, 9));
Expand Down

0 comments on commit 725043b

Please sign in to comment.