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; more reliable approach
This commit is contained in:
parent
96f43d3e5f
commit
04193b1d5e
@ -201,7 +201,7 @@ class NetBoxTable(BaseTable):
|
||||
class SearchTable(tables.Table):
|
||||
object_type = columns.ContentTypeColumn(
|
||||
verbose_name=_('Type'),
|
||||
order_by="object_type_id",
|
||||
order_by="object___meta__verbose_name",
|
||||
)
|
||||
object = tables.Column(
|
||||
linkify=True
|
||||
|
Loading…
Reference in New Issue
Block a user