فهرست منبع

Fixes #13706: Restore extra filters dropdown on device interfaces list

Jeremy Stretch 2 سال پیش
والد
کامیت
026386db50

+ 1 - 0
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
 
 ---

+ 4 - 0
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" %}

+ 3 - 1
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 %}
     <form method="post">
         {% csrf_token %}
         <div class="card">