Skip to content

The routing path of the answer type in the search result page is incorrect #90

@tortorse

Description

@tortorse

Describe the bug
Any keyword search, the results will appear both answers and questions, When clicking any answer, the system prompts 'An error occurred, the question was not found'

To Reproduce
Steps to reproduce the behavior:

  1. search
  2. click any answer

Expected behavior
route to the correct question page and scroll to the answer

Screenshots
image
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
I think the correct path is questions/${questionId}/${answerId}
but current is questions/${answerId}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions