[PR #5820] [MERGED] Fix Primary IP Sorting Issues for Devices and VMs #13063

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/5820
Author: @stuntguy3000
Created: 2/15/2021
Status: Merged
Merged: 3/1/2021
Merged by: @jeremystretch

Base: developHead: develop


📝 Commits (1)

📊 Changes

2 files changed (+26 additions, -10 deletions)

View changed files

📝 netbox/dcim/tables/devices.py (+13 -5)
📝 netbox/virtualization/tables.py (+13 -5)

📄 Description

Fixes: #5819, #5872

Enables ordering by IPv6, followed by IPv4.
Ensures the displayed IP address is IPv6 or IPv4 based on the configuration.


🔄 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/5820 **Author:** [@stuntguy3000](https://github.com/stuntguy3000) **Created:** 2/15/2021 **Status:** ✅ Merged **Merged:** 3/1/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`d2c8aae`](https://github.com/netbox-community/netbox/commit/d2c8aae59c68307424dd914a9076b39c0d580857) Fix #5819 and #5872 - Fix Primary IP Sorting Issues for Devices and VMs ### 📊 Changes **2 files changed** (+26 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/tables/devices.py` (+13 -5) 📝 `netbox/virtualization/tables.py` (+13 -5) </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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #5819, #5872 <!-- Please include a summary of the proposed changes below. --> Enables ordering by IPv6, followed by IPv4. Ensures the displayed IP address is IPv6 or IPv4 based on the configuration. --- <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:25:12 +01:00
adam closed this issue 2025-12-29 22:25:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13063