Make GFK scope field sortable=False on tables where it appears

This commit is contained in:
Brian Tiemann 2025-01-16 13:04:26 -05:00 committed by Jeremy Stretch
parent 4a1fea3504
commit 07ad4c1321
3 changed files with 6 additions and 3 deletions

View File

@ -192,7 +192,8 @@ class PrefixTable(TenancyColumnsMixin, NetBoxTable):
)
scope = tables.Column(
verbose_name=_('Scope'),
linkify=True
linkify=True,
orderable=False
)
vlan_group = tables.Column(
accessor='vlan__group',

View File

@ -78,7 +78,8 @@ class ClusterTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
)
scope = tables.Column(
verbose_name=_('Scope'),
linkify=True
linkify=True,
orderable=False
)
device_count = columns.LinkedCountColumn(
viewname='dcim:device_list',

View File

@ -56,7 +56,8 @@ class WirelessLANTable(TenancyColumnsMixin, NetBoxTable):
)
scope = tables.Column(
verbose_name=_('Scope'),
linkify=True
linkify=True,
orderable=False
)
interface_count = tables.Column(
verbose_name=_('Interfaces')