1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #4644: Fix ordering of services table by parent

This commit is contained in:
Jeremy Stretch
2020-05-15 09:02:56 -04:00
parent 14744da8f6
commit 8394ff5537
2 changed files with 5 additions and 2 deletions

View File

@ -667,6 +667,9 @@ class ServiceTable(BaseTable):
viewname='ipam:service',
args=[Accessor('pk')]
)
parent = tables.LinkColumn(
order_by=('device', 'virtual_machine')
)
tags = TagColumn(
url_name='ipam:service_list'
)