[PR #20996] Fixes #19506: DCIM Filtering on Templates custom fields #16112

Open
opened 2025-12-30 00:25:52 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20996
Author: @callumau
Created: 12/17/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • 0407927 Fixes #19506: DCIM Filtering on Templates custom fields
  • db2476c Merge branch 'netbox-community:main' into main
  • 95ac0bc add templatefilterform and fix some filters per API doco

📊 Changes

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

View changed files

📝 netbox/dcim/forms/filtersets.py (+218 -0)

📄 Description

Fixes: #19506

Summary

Fixes issue #19506 by enabling filtering on DCIM template models’ custom fields and attributes.
Files Changed: filtersets.py.

Impact

UI/API filtering: Adds comprehensive filtering capabilities for template objects, aligning template-level filters with their concrete counterparts.
Scope: Form-layer changes; no schema or migrations implied.


🔄 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/20996 **Author:** [@callumau](https://github.com/callumau) **Created:** 12/17/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`0407927`](https://github.com/netbox-community/netbox/commit/04079272508e603d60daff68bf6d959a5e35c817) Fixes #19506: DCIM Filtering on Templates custom fields - [`db2476c`](https://github.com/netbox-community/netbox/commit/db2476caa917dfc08e77bc62bf344b243359a3b3) Merge branch 'netbox-community:main' into main - [`95ac0bc`](https://github.com/netbox-community/netbox/commit/95ac0bcd8ad47eb9537909926718156a0608c18e) add templatefilterform and fix some filters per API doco ### 📊 Changes **1 file changed** (+218 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/filtersets.py` (+218 -0) </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: #19506 <!-- Please include a summary of the proposed changes below. --> ### Summary Fixes issue #19506 by enabling filtering on DCIM template models’ custom fields and attributes. Files Changed: [filtersets.py](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.html). ### Impact UI/API filtering: Adds comprehensive filtering capabilities for template objects, aligning template-level filters with their concrete counterparts. Scope: Form-layer changes; no schema or migrations implied. --- <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-30 00:25:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16112