Sort Tenants Alphabetically in API and Drop Downs #5198

Closed
opened 2025-12-29 19:25:21 +01:00 by adam · 0 comments
Owner

Originally created by @bellwood on GitHub (Aug 18, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.11

Feature type

Change to existing functionality

Proposed functionality

Today, Tenants are sorted by their associated Tenant Group.

In the Tenants view, in the GUI, this makes sense as visually you can see the associated group information.

In API responses and GUI drop downs this is less than desirable as the sorted results are unexpected and arbitrary.

One would expect the results to be sorted alphabetically or naturally.

Use case

From an UI/UX perspective, all drop downs should be sorted similarly to avoid confusion and aid in user input.

From an API perspective, having the results sorted by tenant groups, is arbitrary.

Database changes

None

External dependencies

None

Originally created by @bellwood on GitHub (Aug 18, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.11 ### Feature type Change to existing functionality ### Proposed functionality Today, Tenants are sorted by their associated Tenant Group. In the Tenants view, in the GUI, this makes sense as visually you can see the associated group information. In API responses and GUI drop downs this is less than desirable as the sorted results are unexpected and arbitrary. One would expect the results to be sorted alphabetically or naturally. ### Use case From an UI/UX perspective, all drop downs should be sorted similarly to avoid confusion and aid in user input. From an API perspective, having the results sorted by tenant groups, is arbitrary. ### Database changes None ### External dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 19:25:21 +01:00
adam closed this issue 2025-12-29 19:25:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5198