Fixes #1160: Linkify secrets and tenants in global search results

This commit is contained in:
Jeremy Stretch 2017-05-10 13:16:33 -04:00
parent 83688fceb7
commit ed65721085
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class SecretTable(BaseTable):
class SecretSearchTable(SearchTable):
device = tables.LinkColumn()
class Meta(SearchTable.Meta):
model = Secret

View File

@ -44,6 +44,7 @@ class TenantTable(BaseTable):
class TenantSearchTable(SearchTable):
name = tables.LinkColumn()
class Meta(SearchTable.Meta):
model = Tenant