From 1e071f82e35ebef17bbc7cc8f070157b1a570052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Mon, 5 Mar 2018 15:04:38 -0300 Subject: [PATCH] [CLOUDSTACK-10318] Bug on sorting ACL rules list in chrome --- ui/scripts/vpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 9dc8323e7cdf..a77c4d7b585d 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -1325,7 +1325,7 @@ if(items){ items.sort(function(a, b) { - return a.number >= b.number; + return a.number - b.number; }).map(function(acl) { if (parseInt(acl.protocol)) { // protocol number acl.protocolnumber = acl.protocol;