Skip to content

Category links in global Search Results box don't jump to their relevant sections #7248

@jhammond-git

Description

@jhammond-git

NetBox version

v3.0.2

Python version

3.8

Steps to Reproduce

  1. Search for a string that returns results, preferably from many categories, that makes the results page long enough to scroll.
  2. Click on the category link in the box on the right, such as Tenants.

Expected Behavior

The page jumps to the relevant section of the results - such as Tenants, in the example - so you don't have to manually scroll.

Observed Behavior

Nothing happens.

It seems the ID's for the sections aren't being populated. In my production install of 2.11.3, the ID is on the <h3> tag that contains the title of each section, but in my install of 3.0.2, the ID attribute isn't in the <h5> tag used for the same purpose.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions