diff --git a/netbox/core/views.py b/netbox/core/views.py index 2e8ae27a9..2e336d134 100644 --- a/netbox/core/views.py +++ b/netbox/core/views.py @@ -806,6 +806,10 @@ class PluginListView(UserPassesTestMixin, View): return render(request, 'core/plugin_list.html', { 'plugins': plugins, + 'sort_choices': dict(PluginSortChoices), + 'status_choices': dict(PluginStatusChoices), + 'sort': sort, + 'status': status, }) diff --git a/netbox/templates/core/plugin_list.html b/netbox/templates/core/plugin_list.html index 384a28e63..1b7d39b72 100644 --- a/netbox/templates/core/plugin_list.html +++ b/netbox/templates/core/plugin_list.html @@ -39,17 +39,15 @@ {% trans "Status" %} @@ -57,28 +55,18 @@
- {% trans "Sort" %} + {% trans "Sort" %}