From 026386db50cd3bff1f1a17c64db07461b369f779 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 11 Sep 2023 14:13:55 -0400 Subject: [PATCH] Fixes #13706: Restore extra filters dropdown on device interfaces list --- docs/release-notes/version-3.6.md | 1 + netbox/templates/dcim/device/interfaces.html | 4 ++++ netbox/templates/generic/object_children.html | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-3.6.md b/docs/release-notes/version-3.6.md index e0b13f4aef..71ca249a61 100644 --- a/docs/release-notes/version-3.6.md +++ b/docs/release-notes/version-3.6.md @@ -4,6 +4,7 @@ ### Bug Fixes +* [#13706](https://github.com/netbox-community/netbox/issues/13706) - Restore extra filters dropdown on device interfaces list * [#13721](https://github.com/netbox-community/netbox/issues/13721) - Filter VLAN choices by selected site (if any) when creating a prefix --- diff --git a/netbox/templates/dcim/device/interfaces.html b/netbox/templates/dcim/device/interfaces.html index cab46886bb..8b3fe3097a 100644 --- a/netbox/templates/dcim/device/interfaces.html +++ b/netbox/templates/dcim/device/interfaces.html @@ -2,6 +2,10 @@ {% load helpers %} {% load i18n %} +{% block table_controls %} + {% include 'dcim/device/inc/interface_table_controls.html' with table_modal="DeviceInterfaceTable_config" %} +{% endblock table_controls %} + {% block bulk_delete_controls %} {{ block.super }} {% with bulk_disconnect_view=child_model|validated_viewname:"bulk_disconnect" %} diff --git a/netbox/templates/generic/object_children.html b/netbox/templates/generic/object_children.html index 0fa59d1ec8..3e93a77564 100644 --- a/netbox/templates/generic/object_children.html +++ b/netbox/templates/generic/object_children.html @@ -3,7 +3,9 @@ {% load i18n %} {% block content %} - {% include 'inc/table_controls_htmx.html' with table_modal=table_config %} + {% block table_controls %} + {% include 'inc/table_controls_htmx.html' with table_modal=table_config %} + {% endblock table_controls %}
{% csrf_token %}