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

Fix filtering services by port number

This commit is contained in:
Jeremy Stretch
2020-09-21 14:36:58 -04:00
parent b85990daa6
commit 3a90366538
4 changed files with 21 additions and 8 deletions

View File

@ -623,8 +623,9 @@ class ServiceTable(BaseTable):
parent = tables.LinkColumn(
order_by=('device', 'virtual_machine')
)
ports = tables.Column(
orderable=False
ports = tables.TemplateColumn(
template_code='{{ record.port_list }}',
verbose_name='Ports'
)
tags = TagColumn(
url_name='ipam:service_list'