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

Update table accessors to use dunders in path

This commit is contained in:
jeremystretch
2022-02-02 09:18:50 -05:00
parent c15cfc26f1
commit 2a8e0f9404
4 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ class SiteTable(BaseTable):
linkify=True
)
asn_count = LinkedCountColumn(
accessor=tables.A('asns.count'),
accessor=tables.A('asns__count'),
viewname='ipam:asn_list',
url_params={'site_id': 'pk'},
verbose_name='ASNs'