[PR #7567] [CLOSED] Fix #7564: virtual-chassis position zero #13248

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7567
Author: @PieterL75
Created: 10/18/2021
Status: Closed

Base: developHead: patch-2


📝 Commits (3)

📊 Changes

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

View changed files

📝 netbox/dcim/forms/object_create.py (+1 -1)
📝 netbox/utilities/templatetags/helpers.py (+1 -1)

📄 Description

Fixes: #7564

  • Fix: intial_position could not be set to 0
  • Fix: badges with value 0 not displayed

🔄 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/7567 **Author:** [@PieterL75](https://github.com/PieterL75) **Created:** 10/18/2021 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `patch-2` --- ### 📝 Commits (3) - [`c83c992`](https://github.com/netbox-community/netbox/commit/c83c992b728470a55b595769b2a08ac6d959ae98) Fix virtual-chassis position zero #7564 - [`ccbaeba`](https://github.com/netbox-community/netbox/commit/ccbaeba8b46b8e610c1c81e88cbb7fafd7724c87) virtual-chassis position zero #7564 - [`d7f1af5`](https://github.com/netbox-community/netbox/commit/d7f1af5716373c4dcb6faee95cf58c6775f4a4a5) Corrected initial_position if statement ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/object_create.py` (+1 -1) 📝 `netbox/utilities/templatetags/helpers.py` (+1 -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 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: #7564 <!-- Please include a summary of the proposed changes below. --> - Fix: intial_position could not be set to 0 - Fix: badges with value 0 not displayed --- <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:26:14 +01:00
adam closed this issue 2025-12-29 22:26:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13248