Browse Source

Merge pull request #20267 from pheus/19744-fix-active-column-sorting-in-plugin-table

Fixes #19744: Add accessor for is_loaded in TemplateColumn
bctiemann 5 months ago
parent
commit
8ebc677372
1 changed files with 1 additions and 0 deletions
  1. 1 0
      netbox/core/tables/plugins.py

+ 1 - 0
netbox/core/tables/plugins.py

@@ -61,6 +61,7 @@ class CatalogPluginTable(BaseTable):
         verbose_name=_('Local')
     )
     is_installed = columns.TemplateColumn(
+        accessor=tables.A('is_loaded'),
         verbose_name=_('Active'),
         template_code=PLUGIN_IS_INSTALLED
     )