-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Add new search param to refine mapping type filter #3852
Comments
@willemarcel, To add to this functionality, what should happen when a person selects multiple mapping types? Should the result include projects with all mapping types or any of them? For example, should the search query |
@d-rita On the backend, I propose to add a new search param, it could be named Then on the frontend we can add a switch. @ramyaragupathy what do you think? |
@willemarcel - Yes that sounds right - so it will be, It would be nice to have these two as interdependent parameters, so that it |
@ramyaragupathy I think it's not required to do that check, only assure that |
The search param
/api/v2/projects/?mappingTypes=BUILDINGS
right now returns projects whose mapping type field contains buildings, but includes projects set with buildings and other types.Add a new search param that would filter projects strictly, so in the case mentioned above it would return projects whose mapping type is only BUILDINGS
The text was updated successfully, but these errors were encountered: