Bug Report: Fixed Sort/Order on Column is not fixed

Bug Report: Fixed Sort/Order on Column is not fixed

JamaurJamaur Posts: 87Questions: 10Answers: 0

When a fixed sort/order is applied on a column, if one clicks on the column's header cell (th):

  1. The classes still toggle between sort_asc and sort_desc (this was mentioned in this thread: https://www.datatables.net/forums/discussion/28417 ),
  2. a draw is fired,
  3. and when serverSide = true it even sends a request to the server to change the sort direction.

A test case showing Points 1 and 2: http://live.datatables.net/zerihiju/4/edit and a test case showing Point 3: http://live.datatables.net/qigaluzu/1/edit

In both examples, a fixed sort was applied on the Name Column.

To view the result in the console, one needs to click the Name column header cell (th).

Replies

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin

    Thanks for letting me know about this. I suspect points 2 and 3 won't be something I'll address immediately since it is still functional - it just does a little extra work.

    However, 1 one is a bug for sure - thanks for letting me know about this.

    Allan

This discussion has been closed.