[PR #19672] [MERGED] Fixes #19659: Populate initial device/VM selection for "add a service" button #15696

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19672
Author: @jeremystretch
Created: 6/6/2025
Status: Merged
Merged: 6/10/2025
Merged by: @bctiemann

Base: mainHead: 19659-service-form-initial-data


📝 Commits (1)

  • 7e6b1bb Fixes #19659: Populate initial device/VM selection for 'add a service' button

📊 Changes

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

View changed files

📝 netbox/ipam/forms/model_forms.py (+1 -1)
📝 netbox/templates/dcim/device.html (+1 -1)
📝 netbox/templates/virtualization/virtualmachine.html (+1 -1)

📄 Description

Fixes: #19659

  • Update the URL query parameters for the "add a service" buttons
  • Correct a bug in the form's initialization logic

🔄 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/19672 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 6/6/2025 **Status:** ✅ Merged **Merged:** 6/10/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `19659-service-form-initial-data` --- ### 📝 Commits (1) - [`7e6b1bb`](https://github.com/netbox-community/netbox/commit/7e6b1bbd79e825d94468fcfe94ec3b0be9238866) Fixes #19659: Populate initial device/VM selection for 'add a service' button ### 📊 Changes **3 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/forms/model_forms.py` (+1 -1) 📝 `netbox/templates/dcim/device.html` (+1 -1) 📝 `netbox/templates/virtualization/virtualmachine.html` (+1 -1) </details> ### 📄 Description ### Fixes: #19659 - Update the URL query parameters for the "add a service" buttons - Correct a bug in the form's initialization logic --- <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:23:27 +01:00
adam closed this issue 2025-12-30 00:23:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15696