mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17: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:
parent
6557642f75
commit
bb26e08b4e
@ -61,7 +61,7 @@
|
|||||||
{
|
{
|
||||||
if ( $_GET[ 'bSortable_'.intval($_GET['iSortCol_'.$i]) ] == "true" )
|
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] ) .", ";
|
".mysql_real_escape_string( $_GET['sSortDir_'.$i] ) .", ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user