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

FilterChooser support for AND vs. OR modes #3767

Open
amcclain opened this issue Aug 27, 2024 · 0 comments
Open

FilterChooser support for AND vs. OR modes #3767

amcclain opened this issue Aug 27, 2024 · 0 comments

Comments

@amcclain
Copy link
Member

With respect to how field-level clauses managed by filter chooser are constructed, the component and its backing model currently applies a kind of hybrid AND/OR approach, designed to cover the most common usage patterns:

We've had a client request for a more global OR mode, where you could gather results from mutually-exclusive filters across fields. As an example, imagine positions belong to strategies and strategies are grouped into portfolios. A user might wish to return all positions in StratA and StratB + all those in PortfolioC (where the two strategies do NOT belong to that portfolio).

We are assuming that we are not looking to have users manage parenthesis / nested boolean clauses - looking for an option that is still point-and-click but with some additional control over the generated logic.

Questions to consider:

  • Given that the current behavior is not exactly ANDing clauses together, do we want to create some idea of a "mode", have the current behavior be "auto" mode, then add "strict and" + "or" modes?
  • How should / would this interact with grid filters, if both a grid and filter chooser were bound to the same store?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant