regression with individual column filtering + ajax

regression with individual column filtering + ajax

cgreenecgreene Posts: 1Questions: 0Answers: 0
edited January 2012 in Bug reports
In the 1.8 series, individual column filtering works on any column (for 4 columns, sSearch_0, ... sSearch_3 are properly populated).

In the 1.9 dev series (I haven't tracked down the individual changeset that leads to the regression), only sSearch_1 ... sSearch 3 are properly populated (4 column example). The contents that should be in sSearch_0 are showing up in sSearch instead in the ajax request. I suspect that the second parameter of oTable.fnFilter(val, idx) is being evaluated to false (i.e. it looks like no column was specified). Perhaps the conditional dealing with this changed at some point.

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Interesting! Thanks for flagging this up - I'll investigate shortly and report back :-)

    Allan
  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Doh. Yup - a mistake on my part. Sorry about that. I've just committed the required fix (I did it in fnGetData as well - also now fixed). The updated version of DataTables 1.9 is available as the nightly: http://datatables.net/download and I'll shortly be packing it up as beta 2.

    Thanks very much for the feedback!

    Allan
This discussion has been closed.