Fix table sorting
This commit is contained in:
parent
b9d981781f
commit
72a77bdcec
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@
|
|||
// parse 1,000.00 or 1.000,00
|
||||
function convertStringToNumber(str) {
|
||||
str = str + '' || '';
|
||||
if (str.indexOf(':')) {
|
||||
if (str.indexOf(':') >= 0) {
|
||||
return roundToTwo(moment.duration(str).asHours());
|
||||
} else {
|
||||
var number = Number(str.replace(/[^0-9]+/g, ''));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue