File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -353,11 +353,11 @@ export default {
353
353
354
354
// if values in column are to be sorted by numeric value they all have to be type number
355
355
const flip = this .sorterState .asc ? 1 : - 1
356
- return this .tableFiltered .slice ().sort ((item , item2 ) => {
356
+ return this .tableFiltered .slice ().sort ((item , item2 ) => {
357
357
const value = item[col]
358
358
const value2 = item2[col]
359
- const a = typeof value === ' number' ? value : String (value)
360
- const b = typeof value2 === ' number' ? value2 : String (value2)
359
+ const a = typeof value === ' number' ? value : String (value). toLowerCase ()
360
+ const b = typeof value2 === ' number' ? value2 : String (value2). toLowerCase ()
361
361
return a > b ? 1 * flip : b > a ? - 1 * flip : 0
362
362
})
363
363
},
You can’t perform that action at this time.
0 commit comments