1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-17 15:54:14 +01:00

Examples fix: Details table has one extra column in it at the start, so this needs to be taken into account when sorting - 5422

This commit is contained in:
Allan Jardine 2011-06-21 06:48:21 +01:00
parent 6557642f75
commit bb26e08b4e

View File

@ -61,7 +61,7 @@
{
if ( $_GET[ 'bSortable_'.intval($_GET['iSortCol_'.$i]) ] == "true" )
{
$sOrder .= $aColumns[ intval( $_GET['iSortCol_'.$i] ) ]."
$sOrder .= $aColumns[ intval( $_GET['iSortCol_'.$i] )-1 ]."
".mysql_real_escape_string( $_GET['sSortDir_'.$i] ) .", ";
}
}