Skip to content

Interfaces not sorted in natural order in cable connection interface selection #7273

@candlerb

Description

@candlerb

NetBox version

v3.0.2

Python version

3.8

Steps to Reproduce

  1. Create two devices
  2. On the first device, click the Connect cable button and select "Interface"
  3. In the B side dialog, enter the second device name, and then select from the list of interfaces

Expected Behavior

Interfaces to be displayed in "natural" order, i.e. the same as in the main interface listing

(In my test I was using a Netgear switch with interfaces 0/1, 0/2, ... 0/9, 0/10, 0/11, .... 0/19, 0/20, 0/21 ...)

Observed Behavior

Interfaces are shown in "alphabetical" order, e.g. 0/19 comes before 0/2

image

Metadata

Metadata

Assignees

Labels

status: 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