fix(table): use original value for fallback when number parsing fails in defaultSortCompare()
1 parent dafeed6 commit c375ce9File tree Expand file treeCollapse file tree 1 file changedCopy full SHA for c375ce9
+1
-1
lines changedFilter options
+1
-1
lines changed +1-1Lines changed: 1 addition & 1 deletion Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ const normalizeValue = value => {
8
8
return ''
9
9
}
10
10
if (isNumeric(value)) {
11
-
return toFloat(value)
11
+
return toFloat(value, value)
12
12
}
13
13
return value
14
14
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4