-
Notifications
You must be signed in to change notification settings - Fork 284
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
Cumulative filtering does not work correctly with chosen #344
Comments
Create a test page with your favorite js playground tool and post it here... |
Yup, should have done that to begin with |
fixed in 0.9.1.beta.2 , see working sample |
Hi Daniel, Thanks for providing and managing the code of yadcf. It is a very helpful tool. Might be a misunderstanding of what the fliter should do, but the concern with the implementation with the cumulative filter and the multi_select is that the cumulative filter ends up filtering the column in selection. Might be better as the user selects a column, the cumulative filter applies to the next columns as if it were hierarchical. |
You are welcome, |
Thanks for the prompt response vedmack. Let me try to clarify the scenario, and sorry if I misunderstand the cumulative filter purpose for multi_select. The big advantage of the multi_select filter select is that you can select multiple values from the column, i.e. Some Data 1, Some Data 5 (to show Some Data 1 OR Some Data 5) at the same time when there is no cumulative filter, which works great in yadcf. However, when the cumulative filter is applied, it is not possible to do an OR selector for the same field, i.e. if selecting Some Data 1, not possible to select Some Data 5 also. The multi-select filter behaves just like a single selector because the field is being filtered by the first value Some Data 1. Ideally, to keep the multi-select benefits, it would be great to keep the multi_select the same field field. For example, you are able to select Some Data 1 and Some Data 5, and if you would like to filter by the tags, only the tags from Some Data 1 OR Some Data 5 would be displayed? |
I think you want the following feature - #255 , just noticed that its was opened way way ago and its requested by multiple, so I will try to implement it in the near future |
Awesome, thanks a lot. |
Hi, |
@pratikpowar thats because this bug was fixed long time ago and this issue is closed because of that... |
Here is some sample code showing that cumulative filtering doesn't reduce the select options when yadcf is configured with
select-type:'chosen'
The text was updated successfully, but these errors were encountered: