Skip to content

Clicking search result while on non-root page goes to page not found #2124

@jdkoren

Description

@jdkoren

On v0.30.0+1. If you are on a non-root page and use the search bar, clicking a search result goes to a nonexistent page. Steps to reproduce:

  1. grind serve-test-package-docs
  2. Open a browser window and navigate to the served pages on localhost.
  3. Enter some text in the search bar and click on a result.
    • On the root page, this should work just fine.
    • On any other page, it will most likely go to a page that doesn't exist. [BUG]

Similar problem as #2117, but it's the search result items rather than the script itself. The script constructs a list where each item uses an incomplete href, expecting base href to take care of the rest. Source

Metadata

Metadata

Assignees

Labels

P0A serious issue requiring immediate resolutiontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions