In function _fnBuildSearchRow(), aData[idx] incorrectly got investigated even if aoColumns[i].bSearchable was false.
(If you're reviewing this commit, imagine that aoColumns[i].length ==
10 and aData.length == 1 and the first and only i where
aoColumns[i].bSearchable is true is i== 5. You'll notice that e.g.
aData also gets investigated)
History: First there was this commit:
Date: Thu Nov 1 21:45:48 2012 +0000
Fix: Filtering wasn't correctly applying the `type` adjustments needed for the global filter. For example this meant that html was not stripped from 'html' type columns, resulting in filtering being done on html tags/attributes as well as the content.
It fixed e.g. this issue:
"How to search only non html content - DataTables forums"
However, it was buggy, and then this got committed.
Date: Sat Feb 16 11:27:41 2013 +0000
Fix 151: Column type was being offset when columns were not searchable
However, that requires this commit to work properly.