bug with sorting in /examples/server_side/server_side.html

bug with sorting in /examples/server_side/server_side.html

gcphostgcphost Posts: 2Questions: 0Answers: 0
edited September 2012 in Bug reports
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.

Replies

  • gcphostgcphost Posts: 2Questions: 0Answers: 0
    Sorry I suspect my line number will be off so please disregard that.
This discussion has been closed.