Wrong ordering script in server-side processing example
Wrong ordering script in server-side processing example
Hi everyone!
First of all, nice work!
I found a mistake in the examples section for server_side processing. The ordering algorithm does not work properly (tested with Version 1.9.4)
The old code
[code]
if ( isset( $_GET['iSortCol_0'] ) )
{
$sOrder = "ORDER BY ";
for ( $i=0 ; $i
First of all, nice work!
I found a mistake in the examples section for server_side processing. The ordering algorithm does not work properly (tested with Version 1.9.4)
The old code
[code]
if ( isset( $_GET['iSortCol_0'] ) )
{
$sOrder = "ORDER BY ";
for ( $i=0 ; $i
This discussion has been closed.
Replies
Please link to a test case showing the problem:
http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
My own example appears to work okay:
http://datatables.net/release-datatables/examples/data_sources/server_side.html
Allan