From 1a12f687ee3ecc822a2b9b173bc79bb7e033a864 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Tue, 30 Jun 2026 17:04:57 +0200 Subject: [PATCH] fix(extras): Conditionally render saved filter dropdown Only display the saved filter dropdown in table controls when a filter form is present and includes a filter_id field. This prevents rendering an empty or non-functional dropdown when saved filters are unavailable. --- netbox/templates/inc/table_controls_htmx.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/inc/table_controls_htmx.html b/netbox/templates/inc/table_controls_htmx.html index 4f394bf4d..d6762a43b 100644 --- a/netbox/templates/inc/table_controls_htmx.html +++ b/netbox/templates/inc/table_controls_htmx.html @@ -18,7 +18,7 @@ - {% if filter_form %} + {% if filter_form and filter_form.filter_id %}