From cff29f95510b2d6e82afc27034268468bea4a587 Mon Sep 17 00:00:00 2001 From: Jason Novinger Date: Mon, 14 Jul 2025 16:54:06 -0500 Subject: [PATCH] Fixes #19413: Group custom fields in filter tab Replaced manual rendering of custom fields in the filter tab with the `render_custom_fields` template tag. This change ensures that custom fields are properly grouped, addressing the issue where they were previously displayed without their associated groups. --- netbox/templates/inc/filter_list.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/netbox/templates/inc/filter_list.html b/netbox/templates/inc/filter_list.html index 9e1629d10..b9439e1d0 100644 --- a/netbox/templates/inc/filter_list.html +++ b/netbox/templates/inc/filter_list.html @@ -29,11 +29,7 @@
{% trans "Custom Fields" %}
- {% for name in filter_form.custom_fields %} - {% with field=filter_form|get_item:name %} - {% render_field field %} - {% endwith %} - {% endfor %} + {% render_custom_fields filter_form %} {% endif %}