Ordering global search results so Virtual Machines are next to Devices #2820

Closed
opened 2025-12-29 18:22:27 +01:00 by adam · 0 comments
Owner

Originally created by @candlerb on GitHub (Aug 21, 2019).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.6.2

Proposed Functionality

This is a very minor one.

At the moment, if you enter a keyword in global search and it matches multiple types of object, they are returned in the following order:

  • Devices
  • Prefixes
  • IP Addresses
  • Virtual Machines

I would like to see "Virtual Machines" come directly under "Devices".

Use Case

Devices and Virtual machines are similar entities: they have interfaces, and interfaces have IPs.

When I was searching for a thing (say "foo"), I saw all the devices called "fooXXX", followed by various prefixes and IPs, and it looked like the thing I was looking for (fooYYY) wasn't there.

But actually there was - it's just that fooYYY was a virtual machine not a device, and the virtual machines were off the bottom of the page - not visible without scrolling.

Database Changes

None

External Dependencies

None

Originally created by @candlerb on GitHub (Aug 21, 2019). ### Environment * Python version: 3.5.2 * NetBox version: 2.6.2 ### Proposed Functionality This is a very minor one. At the moment, if you enter a keyword in global search and it matches multiple types of object, they are returned in the following order: * Devices * Prefixes * IP Addresses * Virtual Machines I would like to see "Virtual Machines" come directly under "Devices". ### Use Case Devices and Virtual machines are similar entities: they have interfaces, and interfaces have IPs. When I was searching for a thing (say "foo"), I saw all the devices called "fooXXX", followed by various prefixes and IPs, and it looked like the thing I was looking for (fooYYY) wasn't there. But actually there was - it's just that fooYYY was a virtual machine not a device, and the virtual machines were off the bottom of the page - not visible without scrolling. ### Database Changes None ### External Dependencies None
adam added the status: accepted label 2025-12-29 18:22:27 +01:00
adam closed this issue 2025-12-29 18:22:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2820