diff --git a/netbox/utilities/templates/widgets/filter_modifier.html b/netbox/utilities/templates/widgets/filter_modifier.html index e6fcb522e..fe1a11656 100644 --- a/netbox/utilities/templates/widgets/filter_modifier.html +++ b/netbox/utilities/templates/widgets/filter_modifier.html @@ -1,13 +1,15 @@
- {# Modifier dropdown - NO name attribute, just a UI control #} - + {% if widget.lookups %} + {# Modifier dropdown - NO name attribute, just a UI control #} + + {% endif %} {# Original widget - rendered exactly as it would be without our wrapper #}