[PR #16209] [MERGED] 14948 add has_virtual_device_contexts filter to device #14804

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16209
Author: @arthanson
Created: 5/20/2024
Status: Merged
Merged: 5/22/2024
Merged by: @jeremystretch

Base: developHead: 14948-virtual-device-context-filter


📝 Commits (3)

  • 581560f 14948 add has_virtual_device_cnotexts filter to device
  • ecb02ec 14948 make singular
  • 08646d8 14948 add test

📊 Changes

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

View changed files

📝 netbox/dcim/filtersets.py (+10 -0)
📝 netbox/dcim/forms/filtersets.py (+8 -0)
📝 netbox/dcim/tests/test_filtersets.py (+9 -0)

📄 Description

Fixes: #14948

Adds a has_virtual_device_contexts filter to devices.

Monosnap Devices | NetBox 2024-05-20 13-45-04


🔄 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/16209 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 5/20/2024 **Status:** ✅ Merged **Merged:** 5/22/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `14948-virtual-device-context-filter` --- ### 📝 Commits (3) - [`581560f`](https://github.com/netbox-community/netbox/commit/581560fa8aedc89e8ad19a017cf2683d0301dab8) 14948 add has_virtual_device_cnotexts filter to device - [`ecb02ec`](https://github.com/netbox-community/netbox/commit/ecb02ec939472735cfb8cd6bd79c88fb1a22fdba) 14948 make singular - [`08646d8`](https://github.com/netbox-community/netbox/commit/08646d8cc006e78fe593f469fc9e23a9e84804a6) 14948 add test ### 📊 Changes **3 files changed** (+27 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/filtersets.py` (+10 -0) 📝 `netbox/dcim/forms/filtersets.py` (+8 -0) 📝 `netbox/dcim/tests/test_filtersets.py` (+9 -0) </details> ### 📄 Description ### Fixes: #14948 Adds a has_virtual_device_contexts filter to devices. ![Monosnap Devices | NetBox 2024-05-20 13-45-04](https://github.com/netbox-community/netbox/assets/99642/34a0d7cd-9e53-4b3f-91eb-5067b5d72b4d) --- <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:26:50 +01:00
adam closed this issue 2025-12-29 23:26:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14804