Skip to content

Commit 0f98936

Browse files
committed
Fixes issue quasarframework#1689 (Sorting on Bool col fails)
- Corrects typos in commit 6291793
1 parent 580059e commit 0f98936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/table/table-sort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
return sortDate(A, B) * dir
3939
}
4040
if (typeof A === 'boolean' && typeof B === 'boolean') {
41-
return (a - b) * dir
41+
return (A - B) * dir
4242
}
4343

4444
[A, B] = [A, B].map(s => (s + '').toLocaleString().toLowerCase())

0 commit comments

Comments
 (0)