Filtering by content type should support specifying app and model name #4897
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Milestone
Environment
Proposed Functionality
Support filtering on ContentType foreign key fields by the model's human-friendly label in addition to its numeric ID. For example, both of the following should return the same results:
This was originally raised under #4431 for ObjectChanges, however there are several instances in NetBox where this change is needed, including:
Use Case
Allows a user to filter by related object type without needing to first look up the type's unique ID.
Database Changes
None
External Dependencies
None
The text was updated successfully, but these errors were encountered: