Changed search behaviour between 1.9.0 and 1.9.4

Changed search behaviour between 1.9.0 and 1.9.4

pc123pc123 Posts: 1Questions: 0Answers: 0
edited May 2013 in General
I have observed a strange discrepancy between the above two versions when it comes to using the table search input above the table.

In 1.9.0 it appears to only include the visible text ( http://jsfiddle.net/qf7gV/2/ ) .
In 1.9.4, in searches all the html (including attribute names and values) ( http://jsfiddle.net/qf7gV/3/ ).

Try and type "style" into the search box above the table in each example.

I would like the 1.9.0 behaviour, but we want to use the latest. Is there a workaround/override/plugin that will do this?

Many thanks.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    This is a bug in only 1.9.4 (1.9.3 didn't suffer from this).

    See this thread for more information: http://www.datatables.net/forums/discussion/12628/ignoring-html-when-filtering-not-working

    Allan
This discussion has been closed.