This is an automated email from the ASF dual-hosted git repository.

rafael pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 4412563  [CLOUDSTACK-10318] Bug on sorting ACL rules list in chrome 
(#2478)
4412563 is described below

commit 4412563f19ec8b808fe4c79e2baf658507a84873
Author: Rafael Weingärtner <rafaelweingart...@gmail.com>
AuthorDate: Tue Mar 6 07:53:10 2018 -0300

    [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 9dc8323..a77c4d7 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;

-- 
To stop receiving notification emails like this one, please contact
raf...@apache.org.

Reply via email to