1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11: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:
Allan Jardine 2014-05-16 10:44:48 +01:00
parent d1b7c15426
commit 4d1a25e176
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
449c2e4ac7928f034157c23e35a723634e32f707
bd91fc38f0ad29fc9ed3567674cc53dfbd332fa1

View File

@ -4531,7 +4531,7 @@
// Convert to 2D array if needed
if ( typeof sorting[0] === 'number' ) {
sorting = [ sorting ];
sorting = settings.aaSorting = [ sorting ];
}
// If appending the sort then we are multi-column sorting