Skip to content

Circuits Column Sorting by Termination/Side Doesn't Properly Sort #16444

Closed
@jniec-js

Description

@jniec-js

Deployment Type

Self-hosted

NetBox Version

v3.7, 1, v4.0.5

Python Version

3.10

Steps to Reproduce

  1. Navigate to Circuits listing page
  2. Click on either Side A or Side Z to sort column alphabetically
  3. Observe that the Side A/Side Z columns are not sorted, but instead the provider column gets sorted alphabetically

See: https://demo.netbox.dev/circuits/circuits/?sort=termination_a.

At the time of creating this issue, I modified the termination_a of Circuit https://demo.netbox.dev/circuits/circuits/1/ to be DM-Akron, then attempted to sort Side A alphabetically.

Screenshot from 2024-06-07 09-29-02

Notice that https://demo.netbox.dev/circuits/circuits/1/ is located in the middle of all the Side A terminations, I expect it to be at the top.

Expected Behavior

I expect that the column clicked on (to sort) is the one sorted alphabetically

Observed Behavior

The provider column was sorted alphabetically instead of the Side A/Side Z column that was clicked on.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions