[PR #12014] [MERGED] 11933 saved filters clone of content-types and add m2m field cloning #13890

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12014
Author: @arthanson
Created: 3/20/2023
Status: Merged
Merged: 3/28/2023
Merged by: @jeremystretch

Base: developHead: 11933-clone-saved-filters


📝 Commits (3)

  • 2fa8713 11933 saved filters clone of content-types and add m2m field cloning
  • 574b5f9 Fix JSON rendering
  • 804361e Add content_types to CustomLink.clone()

📊 Changes

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

View changed files

📝 netbox/extras/forms/model_forms.py (+4 -4)
📝 netbox/extras/models/models.py (+2 -2)
📝 netbox/netbox/models/features.py (+6 -1)

📄 Description

Fixes: #11933

Adds ability to clone M2M fields and also adds cloing of content_types and parameters to Saved Filters clone.


🔄 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/12014 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 3/20/2023 **Status:** ✅ Merged **Merged:** 3/28/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `11933-clone-saved-filters` --- ### 📝 Commits (3) - [`2fa8713`](https://github.com/netbox-community/netbox/commit/2fa87131cb301b0962770a981b6a0a9aa6969708) 11933 saved filters clone of content-types and add m2m field cloning - [`574b5f9`](https://github.com/netbox-community/netbox/commit/574b5f991d6a739d83550c7e001f1b4784d80d75) Fix JSON rendering - [`804361e`](https://github.com/netbox-community/netbox/commit/804361ed721736cff0b97d9090361fad5d3ce0e6) Add content_types to CustomLink.clone() ### 📊 Changes **3 files changed** (+12 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/forms/model_forms.py` (+4 -4) 📝 `netbox/extras/models/models.py` (+2 -2) 📝 `netbox/netbox/models/features.py` (+6 -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: #11933 <!-- Please include a summary of the proposed changes below. --> Adds ability to clone M2M fields and also adds cloing of content_types and parameters to Saved Filters clone. --- <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:22 +01:00
adam closed this issue 2025-12-29 23:21:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13890