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

OMIM id redirects to the wrong aspect #2361

Closed
fnielsen opened this issue Oct 20, 2023 · 0 comments · Fixed by #2362
Closed

OMIM id redirects to the wrong aspect #2361

fnielsen opened this issue Oct 20, 2023 · 0 comments · Fixed by #2362
Assignees
Labels
bug something wrong on our end

Comments

@fnielsen
Copy link
Collaborator

Describe the bug
OMIM id redirects to the wrong aspect

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://127.0.0.1:8100/omim/181500
  2. Ends up in http://127.0.0.1:8100/author/Q41112 that is schizophrenia as an author

Expected behavior
The redirect should go to http://127.0.0.1:8100/disease/Q41112

Additional context
The issue is in the view function of scholia/app/views.py

@fnielsen fnielsen added the bug something wrong on our end label Oct 20, 2023
@fnielsen fnielsen self-assigned this Oct 20, 2023
fnielsen added a commit that referenced this issue Oct 20, 2023
fnielsen added a commit that referenced this issue Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something wrong on our end
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant