Skip to content

Custom Objects and Groups - Customizable Weight/Ordering #633

Description

@adparis99

Plugin Version

0.5.2

Proposed functionality

This is a two-part request:

  1. Allow the order in which custom object groups appear to be customized (similar to Configurable field group order (not A–Z only) #577, but involving only groups, not standalone custom objects, which currently appear in their own "group" named objects.)
  2. Allow the order in which custom objects appear within a group to be customized

Request two seems simple enough to accomplish by adding a new field to the custom object type field model, something like object_weight, which is then evaluated similar to how weights are within other places in NetBox. Request one seems a bit more complex, so happy to discuss that further.

Use case

Currently, I have two groups custom objects are assigned to - firewall and dhcp. DHCP appears first in the list, but its member objects are used much less frequently than those within the firewall group. Additionally, within the firewall group, I have multiple custom objects that I would like to order differently than the default alphabetical sort.

External dependencies

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions