Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jeremystretch opened this issue Dec 28, 2023 · 0 comments · Fixed by #14632
Closed
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

jeremystretch commented Dec 28, 2023

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

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Dec 28, 2023
@jeremystretch jeremystretch self-assigned this Dec 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
1 participant