mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
[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){
|
if(items){
|
||||||
items.sort(function(a, b) {
|
items.sort(function(a, b) {
|
||||||
return a.number >= b.number;
|
return a.number - b.number;
|
||||||
}).map(function(acl) {
|
}).map(function(acl) {
|
||||||
if (parseInt(acl.protocol)) { // protocol number
|
if (parseInt(acl.protocol)) { // protocol number
|
||||||
acl.protocolnumber = acl.protocol;
|
acl.protocolnumber = acl.protocol;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user