Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] exFilterColumn not working when cells contain brackets #342

Closed
xirevinian opened this issue Aug 24, 2016 · 3 comments
Closed

[Bug] exFilterColumn not working when cells contain brackets #342

xirevinian opened this issue Aug 24, 2016 · 3 comments
Labels

Comments

@xirevinian
Copy link

xirevinian commented Aug 24, 2016

[Using 0.9.0.beta.13 version]

Hello,

First of all thank you for creating such useful tool. I noticed a possible bug using yadcf. It occurs when the value of given column contains round brackets, i.e. "Verification (In progress)". I've encountered it for following column setup:
filter_type : "multi_select", filter_match_mode : "exact"

In such case, when I call external filtering using
yadcf.exFilterColumn(oTable, [[0, ["Verification (In progress)"]]]);
regex returns no records as the brackets aren't escaped. It will work after escaping brackets:
yadcf.exFilterColumn(oTable, [[0, ["Verification \\(In progress\\)"]]]);

BR,
X.

@vedmack
Copy link
Owner

vedmack commented Aug 29, 2016

Hi,
Please provide a link to a test case jsbin/ jsfiddle/ etc

@xirevinian
Copy link
Author

Hello,

Here you are:

https://jsfiddle.net/beLeux4k/6/

X.

@vedmack
Copy link
Owner

vedmack commented Aug 30, 2016

fixed in 0.9.0.beta.26

@vedmack vedmack closed this as completed Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants