Closes #20820: Add Object Type Filter to CustomField #850

Closed
opened 2026-04-05 18:11:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 11/19/2025

Fixes: #20820

Add object_type_id to the CustomField filter form to filter by assigned object types. Move type‑specific controls into a new “Type Options” FieldSet (choice_set_id, related_object_type_id). This clarifies the difference between a field’s assigned ObjectType and its related ObjectType (for object fields), improving discoverability and consistency.

UI only; no API or database changes.

*Originally created by @pheus on 11/19/2025* <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #20820 Add `object_type_id` to the CustomField filter form to filter by assigned object types. Move type‑specific controls into a new “Type Options” FieldSet (`choice_set_id`, `related_object_type_id`). This clarifies the difference between a field’s assigned `ObjectType` and its related `ObjectType` (for `object` fields), improving discoverability and consistency. UI only; no API or database changes.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#850