mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
Fix numeric sorting pre-formatting method typo, picked up by the unit tests
This commit is contained in:
parent
b135e9b676
commit
6205de54a4
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -10062,7 +10062,7 @@
|
|||||||
/*
|
/*
|
||||||
* numerical sorting
|
* numerical sorting
|
||||||
*/
|
*/
|
||||||
"numeric-asc": function ( a )
|
"numeric-pre": function ( a )
|
||||||
{
|
{
|
||||||
return (a=="-" || a==="") ? 0 : a*1;
|
return (a=="-" || a==="") ? 0 : a*1;
|
||||||
},
|
},
|
||||||
|
@ -67,7 +67,7 @@ $.extend( _oExt.oSort, {
|
|||||||
/*
|
/*
|
||||||
* numerical sorting
|
* numerical sorting
|
||||||
*/
|
*/
|
||||||
"numeric-asc": function ( a )
|
"numeric-pre": function ( a )
|
||||||
{
|
{
|
||||||
return (a=="-" || a==="") ? 0 : a*1;
|
return (a=="-" || a==="") ? 0 : a*1;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user