mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Make GFK scope field sortable=False on tables where it appears
This commit is contained in:
parent
4a1fea3504
commit
07ad4c1321
@ -192,7 +192,8 @@ class PrefixTable(TenancyColumnsMixin, NetBoxTable):
|
|||||||
)
|
)
|
||||||
scope = tables.Column(
|
scope = tables.Column(
|
||||||
verbose_name=_('Scope'),
|
verbose_name=_('Scope'),
|
||||||
linkify=True
|
linkify=True,
|
||||||
|
orderable=False
|
||||||
)
|
)
|
||||||
vlan_group = tables.Column(
|
vlan_group = tables.Column(
|
||||||
accessor='vlan__group',
|
accessor='vlan__group',
|
||||||
|
@ -78,7 +78,8 @@ class ClusterTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
|
|||||||
)
|
)
|
||||||
scope = tables.Column(
|
scope = tables.Column(
|
||||||
verbose_name=_('Scope'),
|
verbose_name=_('Scope'),
|
||||||
linkify=True
|
linkify=True,
|
||||||
|
orderable=False
|
||||||
)
|
)
|
||||||
device_count = columns.LinkedCountColumn(
|
device_count = columns.LinkedCountColumn(
|
||||||
viewname='dcim:device_list',
|
viewname='dcim:device_list',
|
||||||
|
@ -56,7 +56,8 @@ class WirelessLANTable(TenancyColumnsMixin, NetBoxTable):
|
|||||||
)
|
)
|
||||||
scope = tables.Column(
|
scope = tables.Column(
|
||||||
verbose_name=_('Scope'),
|
verbose_name=_('Scope'),
|
||||||
linkify=True
|
linkify=True,
|
||||||
|
orderable=False
|
||||||
)
|
)
|
||||||
interface_count = tables.Column(
|
interface_count = tables.Column(
|
||||||
verbose_name=_('Interfaces')
|
verbose_name=_('Interfaces')
|
||||||
|
Loading…
Reference in New Issue
Block a user