Location device's count in global search results always display 0 #5542

Closed
opened 2025-12-29 19:29:14 +01:00 by adam · 1 comment
Owner

Originally created by @ChrisdAutume on GitHub (Oct 21, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.0.8

Python version

3.9

Steps to Reproduce

  1. Create location
  2. Add devices to it
  3. Search the location

Expected Behavior

The display of the location devices's count

Observed Behavior

The location device's count display 0 in the search pages
image

The count is ok in the location pages.
image

Originally created by @ChrisdAutume on GitHub (Oct 21, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.0.8 ### Python version 3.9 ### Steps to Reproduce 1. Create location 2. Add devices to it 3. Search the location ### Expected Behavior The display of the location devices's count ### Observed Behavior The location device's count display 0 in the search pages ![image](https://user-images.githubusercontent.com/10086152/138235869-10947f76-3488-4177-9d95-e5892b619eaf.png) The count is ok in the location pages. ![image](https://user-images.githubusercontent.com/10086152/138236082-2af31d53-6181-4581-aace-32e775929901.png)
adam added the type: bugstatus: accepted labels 2025-12-29 19:29:14 +01:00
adam closed this issue 2025-12-29 19:29:14 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 21, 2021):

This is for the global search feature specifically. The regular locations list functions as intended.

@jeremystretch commented on GitHub (Oct 21, 2021): This is for the global search feature specifically. The regular locations list functions as intended.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5542