mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Fix: A default for mData would not have been applied
- Fix for DataTables/DataTables issue #212
This commit is contained in:
parent
382482f8e9
commit
59c6b530f3
@ -1 +1 @@
|
||||
5f6a92db1e86a9bd89f2bd2247e8882dabc1b3d8
|
||||
9a8be62411b197d5b425d2867c0e20035cd5c11c
|
||||
|
16
media/js/jquery.dataTables.js
vendored
16
media/js/jquery.dataTables.js
vendored
@ -222,7 +222,7 @@
|
||||
"nTh": nTh ? nTh : document.createElement('th'),
|
||||
"sTitle": oDefaults.sTitle ? oDefaults.sTitle : nTh ? nTh.innerHTML : '',
|
||||
"aDataSort": oDefaults.aDataSort ? oDefaults.aDataSort : [iCol],
|
||||
"mData": oDefaults.mData ? oDefaults.oDefaults : iCol
|
||||
"mData": oDefaults.mData ? oDefaults.mData : iCol
|
||||
} );
|
||||
oSettings.aoColumns.push( oCol );
|
||||
|
||||
@ -13533,8 +13533,7 @@
|
||||
return a.toLowerCase();
|
||||
},
|
||||
|
||||
// string-asc and -desc are retained only for compatibility with the old
|
||||
// sort methods
|
||||
// string-asc and -desc are retained only for compatibility with
|
||||
"string-asc": function ( x, y )
|
||||
{
|
||||
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
|
||||
@ -13606,17 +13605,6 @@
|
||||
}
|
||||
] );
|
||||
|
||||
// date
|
||||
// numeric (inc. formatted)
|
||||
// html numbers (inc. formatted)
|
||||
// html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add sort types (currency, html numbers, formatted numbers, formatted html numbers)
|
||||
currency is just formatted numbers
|
||||
|
||||
|
||||
// Filter formatting functions. See model.ext.ofnSearch for information about
|
||||
|
Loading…
x
Reference in New Issue
Block a user