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

Faceted search of remaining filters #6

Closed
damianmoore opened this issue Dec 29, 2018 · 2 comments
Closed

Faceted search of remaining filters #6

damianmoore opened this issue Dec 29, 2018 · 2 comments

Comments

@damianmoore
Copy link
Collaborator

The visible filters should reduce based on the filters that are already selected. There is no point in showing filters that with return 0 results.

@damianmoore
Copy link
Collaborator Author

An example to make things clearer (photo: [tags]). Assume these are the only photos and tags in the system:

photo1: red, green, blue
photo2: red, green,
photo3: red
photo4: yellow

If the tag red is selected, the red and yellow filter gets removed from the main list of filters as photo4 can't possibly be viewed and it's the only one with the yellow tag.
If the tag green is selected, the green and yellow filters get removed from the available filters.
If the tag blue is selected, blue and yellow filters get removed.

@damianmoore damianmoore added this to To do in Development tasks Feb 10, 2021
@damianmoore damianmoore moved this from To do to In progress in Development tasks Feb 11, 2021
@damianmoore damianmoore moved this from In progress to Review in progress in Development tasks Feb 16, 2021
@damianmoore
Copy link
Collaborator Author

Implemented and merged as of f30b3ee

Development tasks automation moved this from Review in progress to Done Mar 2021 Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development tasks
Done Mar 2021
Development

No branches or pull requests

2 participants