mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Dev fix: Passing in order
as a single array resulted in not being able
to order any other columns * See thread 21073
This commit is contained in:
parent
d1b7c15426
commit
4d1a25e176
@ -1 +1 @@
|
|||||||
449c2e4ac7928f034157c23e35a723634e32f707
|
bd91fc38f0ad29fc9ed3567674cc53dfbd332fa1
|
||||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -4531,7 +4531,7 @@
|
|||||||
|
|
||||||
// Convert to 2D array if needed
|
// Convert to 2D array if needed
|
||||||
if ( typeof sorting[0] === 'number' ) {
|
if ( typeof sorting[0] === 'number' ) {
|
||||||
sorting = [ sorting ];
|
sorting = settings.aaSorting = [ sorting ];
|
||||||
}
|
}
|
||||||
|
|
||||||
// If appending the sort then we are multi-column sorting
|
// If appending the sort then we are multi-column sorting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user