[PR #19256] [MERGED] Fixes #18959: Preserve ordering of terminations in cable traces #15585

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19256
Author: @jeremystretch
Created: 4/22/2025
Status: Merged
Merged: 4/22/2025
Merged by: @bctiemann

Base: mainHead: 18959-cable-trace-terminations-ordering


📝 Commits (2)

  • 459c4bf Fixes #18959: Preserve ordering of terminations in cable traces
  • 8567aa9 Remove obsolete comment

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 netbox/dcim/svg/cables.py (+1 -2)

📄 Description

Fixes: #18959

Remove the call to sorted() as terminations should already be ordered naturally.


🔄 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/19256 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/22/2025 **Status:** ✅ Merged **Merged:** 4/22/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `18959-cable-trace-terminations-ordering` --- ### 📝 Commits (2) - [`459c4bf`](https://github.com/netbox-community/netbox/commit/459c4bfd9d84fb7f0663f2eaa9f1c9c29dc7b804) Fixes #18959: Preserve ordering of terminations in cable traces - [`8567aa9`](https://github.com/netbox-community/netbox/commit/8567aa96e479174a71317e3cd0132c19ba035e49) Remove obsolete comment ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/svg/cables.py` (+1 -2) </details> ### 📄 Description ### Fixes: #18959 Remove the call to `sorted()` as terminations should already be ordered naturally. --- <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-30 00:22:51 +01:00
adam closed this issue 2025-12-30 00:22:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15585