opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Searching on Genetics gives a 404 #3305

Open HelenaCornu opened 2 months ago

HelenaCornu commented 2 months ago

Describe the bug Searching for a gene, variant, or study on Open Targets Genetics and pressing return leads to a 404 page.

Observed behaviour If I search for a gene, variant, or study and press return, I get a 404 page. This does not happen if I click on the suggested entities from the search bar.

Expected behaviour Pressing return should bring up a page with the list of suggested entities.

To Reproduce Steps to reproduce the behaviour:

  1. Go to 'genetics.opentargets.org'
  2. Search for an entity, and press return
  3. See error

Additional context Issue submitted by external user.

d0choa commented 2 months ago

Is this somehow related to https://github.com/opentargets/ot-ui-apps/pull/356 ?

chinmehta commented 1 month ago

Not really, this bug is essentially that there was no landing search page for genetics, and we used to not show search for < term > option in genetics, it was only for platform. But in changes that condition got removed somehow and now it shows that option which should not be there.