[PR #19983] [MERGED] Closes #18843: use color name in cable export #15782

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19983
Author: @Jathn
Created: 7/30/2025
Status: Merged
Merged: 8/1/2025
Merged by: @arthanson

Base: mainHead: 18843-export-color-name


📝 Commits (2)

  • 9c2d55d Closes #18843: use color name in cable export
  • e2386e2 Disable ordering from color_name in CableTable

📊 Changes

2 files changed (+15 additions, -1 deletions)

View changed files

📝 netbox/dcim/models/cables.py (+10 -0)
📝 netbox/dcim/tables/cables.py (+5 -1)

📄 Description

Closes #18843: using color name in cable export

The changes made allow for the name of the color to be exported when exporting cables. This applies to both full table export "All data (csv)" and using custom export templates.

Changes made:

  • Add a color_name property to cable model
  • Add color_name to cable table

🔄 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/19983 **Author:** [@Jathn](https://github.com/Jathn) **Created:** 7/30/2025 **Status:** ✅ Merged **Merged:** 8/1/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `18843-export-color-name` --- ### 📝 Commits (2) - [`9c2d55d`](https://github.com/netbox-community/netbox/commit/9c2d55d68200d6b953c70fe2aaa892d10ee30de2) Closes #18843: use color name in cable export - [`e2386e2`](https://github.com/netbox-community/netbox/commit/e2386e2d5ba7422d0143bcb96c952f90811bb976) Disable ordering from color_name in CableTable ### 📊 Changes **2 files changed** (+15 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models/cables.py` (+10 -0) 📝 `netbox/dcim/tables/cables.py` (+5 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Closes #18843: using color name in cable export <!-- Please include a summary of the proposed changes below. --> The changes made allow for the name of the color to be exported when exporting cables. This applies to both full table export "All data (csv)" and using custom export templates. Changes made: - Add a color_name property to cable model - Add color_name to cable table --- <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:24:02 +01:00
adam closed this issue 2025-12-30 00:24:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15782