Skip to content

Commit 4412563

Browse files
[CLOUDSTACK-10318] Bug on sorting ACL rules list in chrome (#2478)
1 parent 2037dc9 commit 4412563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/scripts/vpc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@
13251325

13261326
if(items){
13271327
items.sort(function(a, b) {
1328-
return a.number >= b.number;
1328+
return a.number - b.number;
13291329
}).map(function(acl) {
13301330
if (parseInt(acl.protocol)) { // protocol number
13311331
acl.protocolnumber = acl.protocol;

0 commit comments

Comments
 (0)