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 page fails when search is started from a concept page with a ?uri URL parameter #1703

Open
osma opened this issue Oct 10, 2024 · 0 comments
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Oct 10, 2024

URL address of the page where you encountered the problem

https://test.dev.finto.fi/yso/fi/page?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fyso%2Fp19378

Description of the problem

  1. Go to a concept page with a URL that includes the uri parameter, e.g. https://test.dev.finto.fi/yso/fi/page?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fyso%2Fp19378 (you can get there for example from the search autocomplete list)
  2. Enter a search term, e.g. "koira", and press enter
  3. You will be redirected to the URL https://test.dev.finto.fi/yso/fi/page?uri=http%3A%2F%2Fwww.yso.fi%2Fonto%2Fyso/fi/search?clang=fi&q=koira which is nonsensical and doesn't work

The expected outcome would be to show the search result page, e.g. http://localhost/Skosmos/yso/fi/search?clang=fi&q=koira

I think the search box constructs the URL for the search page in a way that doesn't work when the uri parameter is used.

Additional information (e.g. screenshots) about the problem

The browser you used when the problem appeared

Firefox

@osma osma added the bug label Oct 10, 2024
@osma osma added this to the 3.0 milestone Oct 10, 2024
@github-project-automation github-project-automation bot moved this to Proposed Skosmos 3.0 issues (to do) in Skosmos 3.0 Backlog Oct 10, 2024
@osma osma moved this from Proposed Skosmos 3.0 issues (to do) to Current sprint backlog in Skosmos 3.0 Backlog Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Current sprint backlog
Development

No branches or pull requests

1 participant