File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/Ui/view/base/web/js/grid/columns
dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/grid/columns Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ define([
68
68
} ) ;
69
69
70
70
return labels . sort (
71
- function ( a , b ) {
72
- return a . toLowerCase ( ) . localeCompare ( b . toLowerCase ( ) ) ;
71
+ function ( labelFirst , labelSecond ) {
72
+ return labelFirst . toLowerCase ( ) . localeCompare ( labelSecond . toLowerCase ( ) ) ;
73
73
}
74
74
) ;
75
75
} ,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ define([
72
72
73
73
describe ( 'getLabelsArray method' , function ( ) {
74
74
it ( 'check if label array sort alphabetically case insensitive' , function ( ) {
75
- record [ 'shared_catalog' ] . push ( 1 , 2 , 3 ) ;
75
+ record [ 'shared_catalog' ] . push ( 1 , 2 , 3 ) ;
76
76
expandable . options . push ( {
77
77
label : 'Default' ,
78
78
value : '1'
You can’t perform that action at this time.
0 commit comments