#14731: Misc cleanup

This commit is contained in:
Jeremy Stretch 2024-07-30 15:11:35 -04:00
parent a63bb6dba6
commit 845888c24e
2 changed files with 1 additions and 2 deletions

View File

@ -155,7 +155,6 @@ def get_catalog_plugins():
# Populate author (if any) # Populate author (if any)
if data['author']: if data['author']:
print(data['author'])
author = PluginAuthor( author = PluginAuthor(
name=data['author']['name'], name=data['author']['name'],
org_id=data['author']['org_id'], org_id=data['author']['org_id'],

View File

@ -44,7 +44,7 @@ class CatalogPluginTable(BaseTable):
verbose_name=_('Name') verbose_name=_('Name')
) )
author = tables.Column( author = tables.Column(
accessor=tables.A('author.name'), accessor=tables.A('author__name'),
verbose_name=_('Author') verbose_name=_('Author')
) )
is_local = columns.BooleanColumn( is_local = columns.BooleanColumn(