If Search result returns 1 item, automatically redirect to it #9158

Closed
opened 2025-12-29 20:46:22 +01:00 by adam · 1 comment
Owner

Originally created by @david-ramsden on GitHub (Jan 26, 2024).

NetBox version

v3.7.1

Feature type

Change to existing functionality

Proposed functionality

When searching for something within the NetBox UI, if only 1 result is returned, automatically redirect the user to the result.

For example: If searching for "CORE01" only returns 1 result, which might be a device within the DCIM, automatically redirect the user to "/dcim/devices/175/"

Use case

Removes an action that the user needs to perform if only 1 search result is returned, i.e. click the hyperlink.

Database changes

No response

External dependencies

No response

Originally created by @david-ramsden on GitHub (Jan 26, 2024). ### NetBox version v3.7.1 ### Feature type Change to existing functionality ### Proposed functionality When searching for something within the NetBox UI, if only 1 result is returned, automatically redirect the user to the result. For example: If searching for "CORE01" only returns 1 result, which might be a device within the DCIM, automatically redirect the user to "/dcim/devices/175/" ### Use case Removes an action that the user needs to perform if only 1 search result is returned, i.e. click the hyperlink. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: duplicate labels 2025-12-29 20:46:22 +01:00
adam closed this issue 2025-12-29 20:46:22 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 26, 2024):

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

@jeremystretch commented on GitHub (Jan 26, 2024): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #2668 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9158