mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 17:26:10 -06:00
Fixes #11383: Sorting search by type doesn't work
This commit is contained in:
parent
8d25d7812c
commit
96f43d3e5f
@ -200,7 +200,8 @@ class NetBoxTable(BaseTable):
|
|||||||
|
|
||||||
class SearchTable(tables.Table):
|
class SearchTable(tables.Table):
|
||||||
object_type = columns.ContentTypeColumn(
|
object_type = columns.ContentTypeColumn(
|
||||||
verbose_name=_('Type')
|
verbose_name=_('Type'),
|
||||||
|
order_by="object_type_id",
|
||||||
)
|
)
|
||||||
object = tables.Column(
|
object = tables.Column(
|
||||||
linkify=True
|
linkify=True
|
||||||
|
Loading…
Reference in New Issue
Block a user