diff --git a/netbox/dcim/tables.py b/netbox/dcim/tables.py index b38a60827..ba9035d19 100644 --- a/netbox/dcim/tables.py +++ b/netbox/dcim/tables.py @@ -179,7 +179,7 @@ CABLE_TERMINATION_PARENT = """ """ CABLE_LENGTH = """ -{% if record.length %}{{ record.length }}{{ record.length_unit }}{% else %}—{% endif %} +{% if record.length %}{{ record.length }}{{ record.get_length_unit_display }}{% else %}—{% endif %} """