Skip to content

Conversation

@callumau
Copy link

@callumau callumau commented Dec 17, 2025

Fixes: #19506

Summary

Fixes issue #19506 by enabling filtering on DCIM template models’ custom fields and attributes.
Files Changed: filtersets.py.

Impact

UI/API filtering: Adds comprehensive filtering capabilities for template objects, aligning template-level filters with their concrete counterparts.
Scope: Form-layer changes; no schema or migrations implied.

@jnovinger jnovinger requested review from a team and arthanson and removed request for a team December 17, 2025 18:43
@jeremystretch jeremystretch requested a review from a team December 17, 2025 18:43
Copy link
Collaborator

@arthanson arthanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you would probably want a DeviceComponentTemplateFilterForm that has device_type_id and module_type_id and have all these filter forms derive from that? For some of these you have device_type_id in the fieldset but you don't have them defined. I think you would want device_type_id and module_type_id on all of these filter forms?

@callumau callumau requested a review from arthanson December 19, 2025 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filtering MultiObjectVar for Custom Field does not works for related object = Module Bay Template

2 participants