[PR #12448] [MERGED] Fixes: #11715 - Fix Parent Prefix table display #13976

Closed
opened 2025-12-29 23:21:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12448
Author: @DanSheps
Created: 5/3/2023
Status: Merged
Merged: 5/5/2023
Merged by: @jeremystretch

Base: developHead: 11715-fix-parent-prefix-table-global-vrf-active


📝 Commits (2)

  • 95486e4 Fixes: #11715 - Fix Parent Prefix table display of global vrf prefixes that are not containers.
  • bfe7e0e Combine AND into a single Q object

📊 Changes

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

View changed files

📝 netbox/ipam/views.py (+2 -1)

📄 Description

Fixes: #11715

Fixes the display of a prefix's parent(s) in the prefix detailed view when the prefix is in a VRF and there are global prefixes that could be parents. If the "parent" prefixes have an active status, they will also show even though they should only show when the status is "container"


🔄 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/12448 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 5/3/2023 **Status:** ✅ Merged **Merged:** 5/5/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `11715-fix-parent-prefix-table-global-vrf-active` --- ### 📝 Commits (2) - [`95486e4`](https://github.com/netbox-community/netbox/commit/95486e46ead3d9dc1de4175e9ddff2e806f6f6b0) Fixes: #11715 - Fix Parent Prefix table display of global vrf prefixes that are **not** containers. - [`bfe7e0e`](https://github.com/netbox-community/netbox/commit/bfe7e0e9b68607ed4122f1a99bace7ff818577d5) Combine AND into a single Q object ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/views.py` (+2 -1) </details> ### 📄 Description ### Fixes: #11715 Fixes the display of a prefix's parent(s) in the prefix detailed view when the prefix is in a VRF and there are global prefixes that could be parents. If the "parent" prefixes have an active status, they will also show even though they should only show when the status is "container" --- <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 23:21:51 +01:00
adam closed this issue 2025-12-29 23:21: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#13976