bug with sorting in /examples/server_side/server_side.html
bug with sorting in /examples/server_side/server_side.html
gcphost
Posts: 2Questions: 0Answers: 0
I produced an error when sorting:
[code] $sOrder .= $aColumns[ intval( $_GET['iSortCol_'.$i] ) ]."[/code]
Made it read:
[code] $sOrder .= $aColumns[ intval( $_GET['iSortCol_'.$i] )-1 ]."[/code]
Seems, at least in my case, the inval was a 1=* not 0-* and is off by 1.
[code] $sOrder .= $aColumns[ intval( $_GET['iSortCol_'.$i] ) ]."[/code]
Made it read:
[code] $sOrder .= $aColumns[ intval( $_GET['iSortCol_'.$i] )-1 ]."[/code]
Seems, at least in my case, the inval was a 1=* not 0-* and is off by 1.
This discussion has been closed.
Replies