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

Search URL wrong on certain pages #31

Open
tgurr opened this issue Aug 27, 2020 · 0 comments
Open

Search URL wrong on certain pages #31

tgurr opened this issue Aug 27, 2020 · 0 comments
Labels
bug Something isn't working frontend

Comments

@tgurr
Copy link

tgurr commented Aug 27, 2020

Describe the bug
Search works on the main page when clicking e.g. the "City Planning" topic which results in https://opendata.domain.local/search/?theme=City%20Planning But it doesn't work when:

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'the main site'
  2. Click on 'City Planning'
  3. In the search results click again on any "City Planning" category
  4. See error "Page not found." because of the wrong URL being accessed: https://opendata.domain.local/search/search?theme=City%20Planning

Same is true when accessing an actual dataset and then clicking on the category which will lead to e.g. https://opendata.domain.local/dataset/934400f2-a5dc-4abf-bf16-3f17335888d3/search?theme=City%20Planning

Expected behavior
Still search via https://opendata.domain.local/search/?theme=City%20Planning

Details:

  • OS: Linux
  • Browser: Chrome
  • Version: Git master
@tgurr tgurr added bug Something isn't working frontend labels Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant