[PR #2935] [MERGED] Fixes: #2781 - Enable Filtering by Multiple Regions on Site and Device Lists #12468

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2935
Author: @DanSheps
Created: 2/27/2019
Status: Merged
Merged: 3/4/2019
Merged by: @jeremystretch

Base: developHead: 2781-fixsitelistfilterregion


📝 Commits (2)

  • f2471ae Fixes #2781: Fixes filter by regions on site and device list
  • 00aaf50 Fixes #2781: Fixes filter by regions on site and device list

📊 Changes

2 files changed (+26 additions, -23 deletions)

View changed files

📝 netbox/dcim/filters.py (+17 -23)
📝 netbox/utilities/filters.py (+9 -0)

📄 Description

Fixes: #2781

  • Added TreeNodeMultipleChoiceFilter
  • Change region_id in DeviceFilter to TreeNodeMultipleChoiceFilter()
  • Change region in DeviceFilter to TreeNodeMultipleChoiceFilter()
  • Change region_id in SiteFilter to TreeNodeMultipleChoiceFilter()
  • Change region in SiteFilter to TreeNodeMultipleChoiceFilter()

🔄 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/2935 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 2/27/2019 **Status:** ✅ Merged **Merged:** 3/4/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `2781-fixsitelistfilterregion` --- ### 📝 Commits (2) - [`f2471ae`](https://github.com/netbox-community/netbox/commit/f2471aedb28b232f926ec3f43dddb981d0d404f9) Fixes #2781: Fixes filter by regions on site and device list - [`00aaf50`](https://github.com/netbox-community/netbox/commit/00aaf500de1ac67bcba46fbcc75d9ea51cf6ddca) Fixes #2781: Fixes filter by regions on site and device list ### 📊 Changes **2 files changed** (+26 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/filters.py` (+17 -23) 📝 `netbox/utilities/filters.py` (+9 -0) </details> ### 📄 Description ### Fixes: #2781 * Added TreeNodeMultipleChoiceFilter * Change region_id in DeviceFilter to TreeNodeMultipleChoiceFilter() * Change region in DeviceFilter to TreeNodeMultipleChoiceFilter() * Change region_id in SiteFilter to TreeNodeMultipleChoiceFilter() * Change region in SiteFilter to TreeNodeMultipleChoiceFilter() --- <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:21:45 +01:00
adam closed this issue 2025-12-29 22:21:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12468