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

Fixes #8377: Fix calculation of absolute cable lengths when specified in fractional units

This commit is contained in:
jeremystretch
2022-01-18 11:09:12 -05:00
parent 1584d51433
commit 38963e7960
5 changed files with 48 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ class CableTable(BaseTable):
tenant = TenantColumn()
length = TemplateColumn(
template_code=CABLE_LENGTH,
order_by='_abs_length'
order_by=('_abs_length', 'length_unit')
)
color = ColorColumn()
tags = TagColumn(