Browse Source

Fixes #9495: Correct link to contacts in contact groups table column

jeremystretch 3 years ago
parent
commit
c81c3d11ed
2 changed files with 2 additions and 1 deletions
  1. 1 0
      docs/release-notes/version-3.2.md
  2. 1 1
      netbox/tenancy/tables/contacts.py

+ 1 - 0
docs/release-notes/version-3.2.md

@@ -12,6 +12,7 @@
 * [#9480](https://github.com/netbox-community/netbox/issues/9480) - Fix sorting services & service templates by port numbers
 * [#9484](https://github.com/netbox-community/netbox/issues/9484) - Include services listening on "all IPs" under IP address view
 * [#9486](https://github.com/netbox-community/netbox/issues/9486) - Fix redirect URL when adding device components from the module view
+* [#9495](https://github.com/netbox-community/netbox/issues/9495) - Correct link to contacts in contact groups table column
 
 ---
 

+ 1 - 1
netbox/tenancy/tables/contacts.py

@@ -18,7 +18,7 @@ class ContactGroupTable(NetBoxTable):
     )
     contact_count = columns.LinkedCountColumn(
         viewname='tenancy:contact_list',
-        url_params={'role_id': 'pk'},
+        url_params={'group_id': 'pk'},
         verbose_name='Contacts'
     )
     tags = columns.TagColumn(