Skip to content

Sort Tenants Alphabetically in API and Drop Downs #6988

@bellwood

Description

@bellwood

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

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions