Search reverting to "all objects" #6546

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

Originally created by @candlerb on GitHub (Jun 7, 2022).

NetBox version

v3.2.4

Python version

3.8

Steps to Reproduce

  1. Go to home page
  2. Enter an IP address or part of IP address in the search bar
  3. From the drop down, change "All Objects" to "IP addresses"
  4. Click the search button

image

Expected Behavior

Search dropdown should remain set to "IP addresses"

Observed Behavior

The search result is correctly displayed at /ipam/ip-addresses/?q=10.12.0, but the dropdown has changed back to "All Objects".

Hence if I modify the search value, it becomes a global search unless I re-select the dropdown.

It also means that the search results you see (a table of IP addresses only) don't match what's shown at the top of the page (suggesting that it's all objects):
image

Originally created by @candlerb on GitHub (Jun 7, 2022). ### NetBox version v3.2.4 ### Python version 3.8 ### Steps to Reproduce 1. Go to home page 2. Enter an IP address or part of IP address in the search bar 3. From the drop down, change "All Objects" to "IP addresses" 4. Click the search button ![image](https://user-images.githubusercontent.com/44789/172383008-2c9cc62b-0af3-4409-8bbe-b9839ff935a2.png) ### Expected Behavior Search dropdown should remain set to "IP addresses" ### Observed Behavior The search result is correctly displayed at `/ipam/ip-addresses/?q=10.12.0`, but the dropdown has changed back to "All Objects". Hence if I modify the search value, it becomes a global search unless I re-select the dropdown. It also means that the search results you see (a table of IP addresses only) don't match what's shown at the top of the page (suggesting that it's all objects): ![image](https://user-images.githubusercontent.com/44789/172382436-2ab9870a-638b-4f07-9448-793c3d7d3c38.png)
adam added the type: bugstatus: needs ownerpending closure labels 2025-12-29 19:42:10 +01:00
adam closed this issue 2025-12-29 19:42:10 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 7, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 7, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Sep 6, 2022):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Sep 6, 2022): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6546