NCIOCPL / clinical-trials-search-app

Clinical Trial Search Front-end
1 stars 6 forks source link

Page Not found (PNF) page retains the search term in the Search input box. #577

Closed alinai closed 2 years ago

alinai commented 2 years ago

Issue description

After performing search on Page Not found (PNF) page, we are redirected to the Site Wide Search results page and using browser back option we see that PNF retains its search term.

ESTIMATE TBD

Steps to reproduce the issue

  1. Go to https://ncigovcdode487.prod.acquia-sites.com/about-cancer/treatment/clinical-trials/search/foo
  2. Enter "cancer" in the Search input box
  3. Perform search
  4. You will be redirected to the Site Wide Search results page
  5. Go back to the previous page using the "Go back" option of the browser.
  6. PNF retains the search term in the Search input box.

What's the expected result?

What's the actual result?

Additional details / screenshot

Related Tickets

seyilonge-nci commented 2 years ago

ODE 487 no longer exists as this has been deployed to production. I wasn't able to reproduce this on cancer.gov in FF and Chrome.

alinai commented 2 years ago

Thanks @seyilonge-nci for checking. I am also not seeing the issue on Prod on Chrome, FF, Edge anymore. We can close this ticket.