From 3f8867ac0f50410772f289b731c2b41dee946a28 Mon Sep 17 00:00:00 2001 From: ivy-jh Date: Thu, 12 Dec 2024 16:13:32 +0100 Subject: [PATCH] XIVY-15521 fix zero before 0 --- src/main/java/io/ivyteam/devops/repo/ReposView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/ivyteam/devops/repo/ReposView.java b/src/main/java/io/ivyteam/devops/repo/ReposView.java index 0db4e7e..5999c73 100644 --- a/src/main/java/io/ivyteam/devops/repo/ReposView.java +++ b/src/main/java/io/ivyteam/devops/repo/ReposView.java @@ -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));