_fnDataToSearch throws error if column contains null data

_fnDataToSearch throws error if column contains null data

bluecollarcoderbluecollarcoder Posts: 1Questions: 0Answers: 0
edited March 2012 in Bug reports
The function _fnDataToSearch() throws an error if the sData is null. The fix is to reorder the if...else statement so that (sData === null) is checked first before other conditions.

Replies

  • allanallan Posts: 63,383Questions: 1Answers: 10,449 Site admin
    I think this is only an issue if the sType for the column is 'html', which would then cause the code to do a 'replace' on null, which indeed will fail. i've just committed the required change which is now in the 1.9.1.dev nightly on the downloads page and will be included in 1.9.1 release (not too far away :-) ).

    Thanks for flagging this up!
    Allan
This discussion has been closed.