apache/answer

In the SEO question list template, the question link is missing the urlTitle parameter.

Closed this issue · 0 comments

Describe the bug

When selecting a short id in the link form and carrying the title parameter in the management background, the logic in the SEO template is currently faulty, causing the urlTitle parameter to be incorrectly spliced.

To Reproduce

  1. admin backend select URL
    image

  2. Go to the homepage, right-click to view the source code and find that the urlTitle parameter is missing in the link.
    image

  3. This problem only occurs in the case of short ids.

Expected behavior

should show urlTitle
eg:
image

Platform

  • Device: [e.g. Desktop, Mobile]
  • OS: [e.g. macOS]
  • Browser and version: [e.g. Chrome, Safari]
  • Version: [e.g. v1.3.6]