From af287d50a219031251a1a0984d3a46f950100a22 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 19 Dec 2013 14:24:37 +0000 Subject: [PATCH] Dev fix: The columning classes should be applied to the columns the user has selected for sorting, not the data sorted columns (although they are usually the same) - https://datatables.net/forums/discussion/18714 --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 5535a255..5e0f3c1c 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -059275a51400f3ffac61170fcc4dd0a78be33c1d +72a8f1106b4dd9fca8cb7afb2087c4bb0bf65b87 diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 975d1a83..c57553a6 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -4096,7 +4096,7 @@ aSort = [], aiOrig = [], aoColumns = settings.aoColumns, - aDataSort, iCol, sType, + aDataSort, iCol, sType, srcCol, fixed = settings.aaSortingFixed, fixedObj = $.isPlainObject( fixed ), nestedSort = [], @@ -4129,7 +4129,8 @@ for ( i=0 ; i