Skip to content

Commit

Permalink
Fixes #14343: Set order_by accessor for asn_asdot column
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Nov 28, 2023
1 parent d52a6d3 commit a2233a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/ipam/tables/asn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a2233a9

Please sign in to comment.