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

Closed
opened 2025-12-29 19:27:01 +01:00 by adam · 0 comments
Owner

Originally created by @jhammond-git on GitHub (Sep 10, 2021).

Originally assigned to: @jeremystretch on GitHub.

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.

Originally created by @jhammond-git on GitHub (Sep 10, 2021). Originally assigned to: @jeremystretch on GitHub. ### 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.
adam added the type: bugstatus: accepted labels 2025-12-29 19:27:01 +01:00
adam closed this issue 2025-12-29 19:27:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5357