[PR #13377] [MERGED] Fixes #13376: Restrict add/remove tag fields on bulk edit forms by model #14174

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13377
Author: @jeremystretch
Created: 8/4/2023
Status: Merged
Merged: 8/4/2023
Merged by: @jeremystretch

Base: featureHead: 13376-restrict-tags-bulk-edit


📝 Commits (1)

  • 12f496e Fixes #13376: Restrict add/remove tag fields by model on bulk edit forms

📊 Changes

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

View changed files

📝 netbox/netbox/forms/base.py (+5 -0)

📄 Description

Fixes: #13376

Extend NetBoxModelBulkEditForm to automatically apply the for_object_type_id query parameter to its add_tags and remove_tags fields.


🔄 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/13377 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/4/2023 **Status:** ✅ Merged **Merged:** 8/4/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `13376-restrict-tags-bulk-edit` --- ### 📝 Commits (1) - [`12f496e`](https://github.com/netbox-community/netbox/commit/12f496e4b7a1aac9a65eee1b9ad22c7ecf760112) Fixes #13376: Restrict add/remove tag fields by model on bulk edit forms ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/forms/base.py` (+5 -0) </details> ### 📄 Description ### Fixes: #13376 Extend NetBoxModelBulkEditForm to automatically apply the `for_object_type_id` query parameter to its `add_tags` and `remove_tags` fields. --- <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:23:00 +01:00
adam closed this issue 2025-12-29 23:23:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14174