[PR #6470] [MERGED] Closes #5121: Add object type filters for Tags #13131

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/6470
Author: @jeremystretch
Created: 5/21/2021
Status: Merged
Merged: 5/21/2021
Merged by: @jeremystretch

Base: developHead: 5121-filter-tags-content-type


📝 Commits (2)

📊 Changes

18 files changed (+91 additions, -36 deletions)

View changed files

📝 netbox/circuits/models.py (+3 -3)
📝 netbox/dcim/models/cables.py (+1 -1)
📝 netbox/dcim/models/device_components.py (+9 -9)
📝 netbox/dcim/models/devices.py (+3 -3)
📝 netbox/dcim/models/power.py (+2 -2)
📝 netbox/dcim/models/racks.py (+2 -2)
📝 netbox/dcim/models/sites.py (+1 -1)
📝 netbox/extras/constants.py (+1 -0)
📝 netbox/extras/filtersets.py (+33 -1)
📝 netbox/extras/forms.py (+8 -2)
📝 netbox/extras/tests/test_filtersets.py (+16 -0)
📝 netbox/ipam/models/ip.py (+3 -3)
📝 netbox/ipam/models/services.py (+1 -1)
📝 netbox/ipam/models/vlans.py (+1 -1)
📝 netbox/ipam/models/vrfs.py (+2 -2)
📝 netbox/secrets/models.py (+1 -1)
📝 netbox/tenancy/models.py (+1 -1)
📝 netbox/virtualization/models.py (+3 -3)

📄 Description

Fixes: #5121

  • Add tags as a feature query
  • Add content_type filters for tags

🔄 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/6470 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/21/2021 **Status:** ✅ Merged **Merged:** 5/21/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `5121-filter-tags-content-type` --- ### 📝 Commits (2) - [`b6660c7`](https://github.com/netbox-community/netbox/commit/b6660c72e1f024fc491e663cb2c2fd0a32d49c7c) Add tags as a feature query - [`5b4793a`](https://github.com/netbox-community/netbox/commit/5b4793a2d592638d91d7e82b9c3ecfed0d81382b) Closes #5121: Add content_type filters for tags ### 📊 Changes **18 files changed** (+91 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/models.py` (+3 -3) 📝 `netbox/dcim/models/cables.py` (+1 -1) 📝 `netbox/dcim/models/device_components.py` (+9 -9) 📝 `netbox/dcim/models/devices.py` (+3 -3) 📝 `netbox/dcim/models/power.py` (+2 -2) 📝 `netbox/dcim/models/racks.py` (+2 -2) 📝 `netbox/dcim/models/sites.py` (+1 -1) 📝 `netbox/extras/constants.py` (+1 -0) 📝 `netbox/extras/filtersets.py` (+33 -1) 📝 `netbox/extras/forms.py` (+8 -2) 📝 `netbox/extras/tests/test_filtersets.py` (+16 -0) 📝 `netbox/ipam/models/ip.py` (+3 -3) 📝 `netbox/ipam/models/services.py` (+1 -1) 📝 `netbox/ipam/models/vlans.py` (+1 -1) 📝 `netbox/ipam/models/vrfs.py` (+2 -2) 📝 `netbox/secrets/models.py` (+1 -1) 📝 `netbox/tenancy/models.py` (+1 -1) 📝 `netbox/virtualization/models.py` (+3 -3) </details> ### 📄 Description ### Fixes: #5121 - Add tags as a feature query - Add content_type filters for tags --- <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:25:35 +01:00
adam closed this issue 2025-12-29 22:25:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13131