Fixes #14343: Set order_by accessor for asn_asdot column (#14369)

This commit is contained in:
Jeremy Stretch 2023-11-28 17:02:07 -05:00 committed by GitHub
parent 40763b58bd
commit 7d413ea3c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ class ASNTable(TenancyColumnsMixin, NetBoxTable):
asn_asdot = tables.Column(
accessor=tables.A('asn_asdot'),
linkify=True,
order_by=tables.A('asn'),
verbose_name=_('ASDOT')
)
site_count = columns.LinkedCountColumn(