Skip to content

Ensure all that a description filter is available on all models with a description field #14631

@jeremystretch

Description

@jeremystretch

NetBox version

v3.6.8

Feature type

New functionality

Proposed functionality

For all models which have a description field (which is most models in NetBox), ensure that:

  1. A description filter is available for matching specifically on this field (e.g. /api/dcim/devices/?description=foo)
  2. The description field is matched by the general-purpose query filter (e.g. /api/dcim/devices/?q=foo)

Use case

Several models are currently missing a description filter and/or do not reference the field when using the model-specific search filter (q). (See #14596 for instance.) This change ensures consist function across all relevant models.

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