mirror of https://github.com/apache/cloudstack.git
[CLOUDSTACK-10318] Bug on sorting ACL rules list in chrome (#2478)
This commit is contained in:
parent
2037dc9eb3
commit
4412563f19
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue