1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

LinkedCountColumn should always invoke filter by ID

This commit is contained in:
jeremystretch
2021-04-05 11:47:25 -04:00
parent 7949a5e1fd
commit f0018dcba9
4 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ class SecretRoleTable(BaseTable):
)
secret_count = LinkedCountColumn(
viewname='secrets:secret_list',
url_params={'role': 'slug'},
url_params={'role_id': 'pk'},
verbose_name='Secrets'
)
actions = ButtonsColumn(SecretRole)