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

Enable deep linking to a category group and category #3110

Closed
struan opened this issue Jul 8, 2020 · 0 comments · Fixed by #3120
Closed

Enable deep linking to a category group and category #3110

struan opened this issue Jul 8, 2020 · 0 comments · Fixed by #3120
Assignees
Labels

Comments

@struan
Copy link
Member

struan commented Jul 8, 2020

Now that we allow a category to exist in multiple groups it's not possible to create a deep link that will pre select a category in only one of the groups it is in.

e.g if you have the following:

  • Roads
    • Potholes
    • Flooding
  • Pavements
    • Potholes
    • Damaged paving

And wish to select only Roads -> Potholes it is currently not possible.

Setting filter_category to Potholes will select it in both the Road and Pavements groups. Adding a filter_group=Roads will select all the categories in the Roads group as well.

I suggest that filter_group=Roads&filter_category=Potholes would only select Roads -> Potholes.

@struan struan added the Feature label Jul 8, 2020
@struan struan changed the title Enable deep linking to a category group and cagegory Enable deep linking to a category group and category Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants