[PR #16741] [MERGED] fix: allow cloning field value of 0 #14897

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16741
Author: @llamafilm
Created: 6/26/2024
Status: Merged
Merged: 7/1/2024
Merged by: @jeremystretch

Base: developHead: issue-16714


📝 Commits (2)

  • 17ab1eb fix: allow cloning field value of 0
  • 3535fed Fix evaluation of False value

📊 Changes

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

View changed files

📝 netbox/utilities/querydict.py (+1 -1)

📄 Description

Fixes: #16714

Allow cloning fields where value is 0


🔄 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/16741 **Author:** [@llamafilm](https://github.com/llamafilm) **Created:** 6/26/2024 **Status:** ✅ Merged **Merged:** 7/1/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `issue-16714` --- ### 📝 Commits (2) - [`17ab1eb`](https://github.com/netbox-community/netbox/commit/17ab1eb796023d203dda1348af363770be4ed03f) fix: allow cloning field value of 0 - [`3535fed`](https://github.com/netbox-community/netbox/commit/3535fed3b61fab755191b5b9ced853349ecced29) Fix evaluation of False value ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/querydict.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 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. --> ### Fixes: #16714 Allow cloning fields where value is `0` --- <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:27:21 +01:00
adam closed this issue 2025-12-29 23:27:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14897