Global search not returning prefixes that contain an IP address #7582

Closed
opened 2025-12-29 20:25:42 +01:00 by adam · 2 comments
Owner

Originally created by @c0herent on GitHub (Jan 31, 2023).

NetBox version

v3.4.3

Python version

3.8

Steps to Reproduce

  1. When logged into the NetBox UI, enter a specific IP address in the global search box at the top, such as 10.44.20.34
  2. Click the search button or hit enter

Expected Behavior

If there is a record for the IP address, that record should be returned. If there is a prefix that contains the IP address, that prefix should also be returned.

If there is no record for the IP address, but a prefix containing that IP address exists, the prefix should be returned.

Observed Behavior

If there is a record for both the IP address and the prefix, only the IP address is returned. If there is only a record for the prefix but not the specific IP address, "- no results found-" is returned.

This issue started to occur after upgrading from NetBox 3.1.8 to 3.4.3. This breaks one of our largest use cases for NetBox, which is being able to easily find what prefix an IP address belongs to.

Originally created by @c0herent on GitHub (Jan 31, 2023). ### NetBox version v3.4.3 ### Python version 3.8 ### Steps to Reproduce 1. When logged into the NetBox UI, enter a specific IP address in the global search box at the top, such as 10.44.20.34 2. Click the search button or hit enter ### Expected Behavior If there is a record for the IP address, that record should be returned. If there is a prefix that contains the IP address, that prefix should also be returned. If there is no record for the IP address, but a prefix containing that IP address exists, the prefix should be returned. ### Observed Behavior If there is a record for both the IP address and the prefix, only the IP address is returned. If there is only a record for the prefix but not the specific IP address, "- no results found-" is returned. This issue started to occur after upgrading from NetBox 3.1.8 to 3.4.3. This breaks one of our largest use cases for NetBox, which is being able to easily find what prefix an IP address belongs to.
adam added the status: duplicate label 2025-12-29 20:25:42 +01:00
adam closed this issue 2025-12-29 20:25:42 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 31, 2023):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #11315 for further discussion.

@jeremystretch commented on GitHub (Jan 31, 2023): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #11315 for further discussion.
Author
Owner

@c0herent commented on GitHub (Jan 31, 2023):

Thanks! I didn't see that issue when searching but it does match the issue I am having. I will reference that thread going forward.

@c0herent commented on GitHub (Jan 31, 2023): Thanks! I didn't see that issue when searching but it does match the issue I am having. I will reference that thread going forward.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7582