Skip to content

"Max length" in prefix view cannot be deselected #6287

@candlerb

Description

@candlerb

NetBox version

v2.11.1

Feature type

Change to existing functionality

Proposed functionality

The "max length" drop-down in Prefix listing view has a couple of strange behaviours:

  • It's not in the "Search" area where I'd expect it, but next to the "Configure" / "Add" / "Import" / "Export"
  • Once you've selected it, you can't deselect it (without navigating away / manually changing URL)

I suggest moving it to the Search area, and having "----" as one of the options. (EDIT: I suggest moving it next to the "Address Family", since selecting a max length of say 48 isn't really useful without also selecting IPv6. There is already a "Mask Length" selector there, but that matches exact length, not up-to length)

Use case

Easier control of filtering prefixes

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