Sorting work fine, but result appears opposite
Sorting work fine, but result appears opposite
Hi, i have a weird problem.
Version of datatables:1.10.19
$(container+" table.tasks").dataTable({"iDisplayLength": 10, "aLengthMenu": [10,25,50,100], "sPaginationType": "full_numbers", "aoColumns": [ { "bSortable": false }, { "bSortable": false }, null, null, null, null, null, null, null, null, null, null, null, null, null],"aaSorting": [[ 3, "desc" ]],"stateSave": true});
The sort works perfectly for any field, but the result is exactly the opposite.
When it is asc it is descending, when it is desc it is ascending and the arrows respect the code, not the result.
Has it already happened? ANy idea?
Thankyou for
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Thanks for your interest,
unfortunately it is complicated because the script works in an inaccessible intranet.
But I solved it, I updated to the latest version and the problem doesn't show up anymore.