Skip to content

Integer field "null" value sorting #19422

Open
@loubladi

Description

@loubladi

NetBox version

v4.2.8

Feature type

Change to existing functionality

Proposed functionality

Currently sorting of numeric fields puts "null" value field first. Proposed functionality would put "null" values last.

Use case

We have created Integer Custom Field "PoP ID" where we store value of Site. But since we need to keep track of many sites, only fraction of Sites have this field filled. When we want to sort sites by this field we have to go through many pages of empty values (i could be done by filtering, but for many users sort is more convenient).

Image

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity: mediumRequires a substantial but not unusual amount of effort to implementstatus: backlogAwaiting selection for worktype: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions