rifanece / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

Column Filter issue on multiple words that start with letter 'A' #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go here: http://jsfiddle.net/Yodious/EM8E8
2. On the Filter Selection Box select "Apple A" 

What is the expected output? What do you see instead?
I would expect that "Apple B" gets filtered out, however it doesn't.

What version of the product are you using? On what operating system?
Version 1.4.7
OS - Win 7

Please provide any additional information below.
Solution: http://jsfiddle.net/Yodious/EM8E8/12/

The issue goes away if you disable the smart filtering when calling fnFilter.

In my working example of the jsfiddle all I have done is changed line 352 from:
oTable.fnFilter(unescape($(this).val()), iColumn); //Issue 25

to

oTable.fnFilter(unescape($(this).val()), iColumn, false, false); //Issue 25

I looked at other places where fnFilter is called and it doesn't seem to 
disable the smart filter either, so I am not sure if this is a bug or indented 
behavior.

Original issue reported on code.google.com by Yodi...@gmail.com on 31 May 2012 at 7:55