NASA-PDS / portal-tasks

PDS Portal tasks repo used to track update requests for the website. Actual code and website are managed in separate private repo
https://pds.nasa.gov
0 stars 0 forks source link

DOI search URL do not trigger a search when search term is appended to search URL #88

Open anilnatha opened 5 months ago

anilnatha commented 5 months ago

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

When a user navigates to the DOI search, e.g. https://pds.nasa.gov/tools/doi/#/search/, allows the page to fully load, and then appends a term to the URL, e.g. jupiter, the search against our API is not triggered.

This bug was uncovered while testing upgrades to the DOI search codebase to satisfy breaking changes when upgrading to react router v6 in this PR.

🕵️ Expected behavior

I expected the deep linked URL to trigger a search against the API using the term provided in the URL after /search/

📜 To Reproduce

  1. Open a browser
  2. Navigate to https://pds.nasa.gov/tools/doi/#/search/ and let the page load
  3. Append jupiter to the URL and hit enter.
  4. Observe there are no search results presented. ...

🖥 Environment Info

No response

📚 Version of Software Used

No response

🩺 Test Data / Additional context

No response

🦄 Related requirements

No response

⚙️ Engineering Details

No response