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

Closed
opened 2025-12-29 20:44:05 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Dec 28, 2023).

Originally assigned to: @jeremystretch on GitHub.

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

Originally created by @jeremystretch on GitHub (Dec 28, 2023). Originally assigned to: @jeremystretch on GitHub. ### 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
adam added the status: acceptedtype: feature labels 2025-12-29 20:44:05 +01:00
adam closed this issue 2025-12-29 20:44:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9008