Quick search should search the description field #8997

Closed
opened 2025-12-29 20:43:59 +01:00 by adam · 0 comments
Owner

Originally created by @llamafilm on GitHub (Dec 22, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.6.7

Feature type

Change to existing functionality

Proposed functionality

The "quick search" box at the top of the Devices page searches only a few fields: https://github.com/netbox-community/netbox/blob/v3.6.7/netbox/dcim/filtersets.py#L1013-L1024

I'd like it to also search the description field.

Note: I'm not talking about the global search box at the top. I mean this one:
292338347-981ea9b3-4c1b-4fee-a5e9-665d0a069838

Use case

I use the description field for a "functional name", which is the colloquial way users talk about a device. Most of the time I don't know the name of the device I'm looking for, but I know the description and location. So the most efficient way to find it is to start at the Locations page, click on Devices which leads to http://netbox/dcim/devices/?location_id=10, and then search for it by description.

Database changes

none

External dependencies

none

Originally created by @llamafilm on GitHub (Dec 22, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.6.7 ### Feature type Change to existing functionality ### Proposed functionality The "quick search" box at the top of the Devices page searches only a few fields: https://github.com/netbox-community/netbox/blob/v3.6.7/netbox/dcim/filtersets.py#L1013-L1024 I'd like it to also search the description field. Note: I'm not talking about the global search box at the top. I mean this one: ![292338347-981ea9b3-4c1b-4fee-a5e9-665d0a069838](https://github.com/netbox-community/netbox/assets/3991046/4f848f3a-7412-452b-82ed-5e911a09caa2) ### Use case I use the description field for a "functional name", which is the colloquial way users talk about a device. Most of the time I don't know the `name` of the device I'm looking for, but I know the `description` and `location`. So the most efficient way to find it is to start at the Locations page, click on Devices which leads to http://netbox/dcim/devices/?location_id=10, and then search for it by description. ### Database changes none ### External dependencies none
adam added the status: acceptedtype: feature labels 2025-12-29 20:43:59 +01:00
adam closed this issue 2025-12-29 20:43:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8997