[PR #3859] [MERGED] Fixes #3440: Total cable trace length #12669

Closed
opened 2025-12-29 22:22:57 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3859
Author: @hSaria
Created: 1/8/2020
Status: Merged
Merged: 1/9/2020
Merged by: @jeremystretch

Base: developHead: 3440-total-cable-length


📝 Commits (2)

  • 996d49d Fixes #3440: Total cable trace length
  • 4f9271e Merge branch 'develop' into 3440-total-cable-length

📊 Changes

4 files changed (+11 additions, -2 deletions)

View changed files

📝 docs/release-notes/version-2.6.md (+1 -0)
📝 netbox/dcim/models.py (+2 -0)
📝 netbox/dcim/views.py (+4 -1)
📝 netbox/templates/dcim/cable_trace.html (+4 -1)

📄 Description

Fixes: #3440

Added total length to the cable trace. The cable._abs_length was not being reset to None when the cable.length is not set, so that was fixed as well.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/3859 **Author:** [@hSaria](https://github.com/hSaria) **Created:** 1/8/2020 **Status:** ✅ Merged **Merged:** 1/9/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3440-total-cable-length` --- ### 📝 Commits (2) - [`996d49d`](https://github.com/netbox-community/netbox/commit/996d49de670159d62b6ca82c76830901b3f702c2) Fixes #3440: Total cable trace length - [`4f9271e`](https://github.com/netbox-community/netbox/commit/4f9271e9ff1316fdd2795dd48987bf860cc315fe) Merge branch 'develop' into 3440-total-cable-length ### 📊 Changes **4 files changed** (+11 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.6.md` (+1 -0) 📝 `netbox/dcim/models.py` (+2 -0) 📝 `netbox/dcim/views.py` (+4 -1) 📝 `netbox/templates/dcim/cable_trace.html` (+4 -1) </details> ### 📄 Description ### Fixes: #3440 Added total length to the cable trace. The `cable._abs_length` was not being reset to None when the `cable.length` is not set, so that was fixed as well. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:22:57 +01:00
adam closed this issue 2025-12-29 22:22:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12669