Search results page column customisation #8495

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

Originally created by @andyb2000 on GitHub (Aug 22, 2023).

NetBox version

v3.4.6

Feature type

New functionality

Proposed functionality

On the search results page (/search/?q=test) it would be useful to be able to specify the columns shown to the user, preferable by a configuration.py configurable option to give further information on the results.
The principle is when returning data it can be confusing to know which element to click on when multiple devices share similar descriptions (value column).

Use case

Take for example when searching for a specific description that appears on multiple switches, you'd receive a list similar to:

<html>
Type Object Field Value
Interface GigabitEthernet1/0/4 (gi1/0/4) Description Customer: MyClientInterface - customer data
Interface GigabitEthernet1/0/4 (gi1/0/4) Description Customer: MyClientInterface - customer data
</html>

In the above the two interfaces are on separate devices and you cannot see that on the results display, so adding a column of the device (or being able to customise) would be useful.

Database changes

No response

External dependencies

No response

Originally created by @andyb2000 on GitHub (Aug 22, 2023). ### NetBox version v3.4.6 ### Feature type New functionality ### Proposed functionality On the search results page (/search/?q=test) it would be useful to be able to specify the columns shown to the user, preferable by a configuration.py configurable option to give further information on the results. The principle is when returning data it can be confusing to know which element to click on when multiple devices share similar descriptions (value column). ### Use case Take for example when searching for a specific description that appears on multiple switches, you'd receive a list similar to: <html> <body> <!--StartFragment--> Type | Object | Field | Value -- | -- | -- | -- Interface | GigabitEthernet1/0/4 (gi1/0/4) | Description | Customer: MyClientInterface - customer data Interface | GigabitEthernet1/0/4 (gi1/0/4) | Description | Customer: MyClientInterface - customer data <!--EndFragment--> </body> </html> In the above the two interfaces are on separate devices and you cannot see that on the results display, so adding a column of the device (or being able to customise) would be useful. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: feature label 2025-12-29 20:37:25 +01:00
adam closed this issue 2025-12-29 20:37:25 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 23, 2023):

What you're describing is not feasible for the global search, which can return many different types of objects. For example, what if your results include two interfaces, a rack, three VLANs, and a tenant?

@jeremystretch commented on GitHub (Aug 23, 2023): What you're describing is not feasible for the global search, which can return many different types of objects. For example, what if your results include two interfaces, a rack, three VLANs, and a tenant?
Author
Owner

@andyb2000 commented on GitHub (Aug 23, 2023):

Yes, I was aware that it's a multi-function results page, but having an optional column (even if blank) for specific fields would help end-users out hugely when results are returned, at the moment the search pages cause confusion.

@andyb2000 commented on GitHub (Aug 23, 2023): Yes, I was aware that it's a multi-function results page, but having an optional column (even if blank) for specific fields would help end-users out hugely when results are returned, at the moment the search pages cause confusion.
Author
Owner

@jeremystretch commented on GitHub (Aug 23, 2023):

Following this strategy would quickly result in dozens of (mostly empty) columns across as many different models. The global search results would turn into a giant unreadable mess. Imagine having to side scroll through a dozen empty columns just to find something relevant to a specific result.

@jeremystretch commented on GitHub (Aug 23, 2023): Following this strategy would quickly result in dozens of (mostly empty) columns across as many different models. The global search results would turn into a giant unreadable mess. Imagine having to side scroll through a dozen empty columns just to find something relevant to a specific result.
Author
Owner

@jeremystretch commented on GitHub (Oct 13, 2023):

I'm going to close this out as the proposed implementation does not seem feasible.

@jeremystretch commented on GitHub (Oct 13, 2023): I'm going to close this out as the proposed implementation does not seem feasible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8495