From 4412563f19ec8b808fe4c79e2baf658507a84873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Tue, 6 Mar 2018 07:53:10 -0300 Subject: [PATCH] [CLOUDSTACK-10318] Bug on sorting ACL rules list in chrome (#2478) --- 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 9dc8323e7cd..a77c4d7b585 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;