[PR #17232] [MERGED] Fixes: 17177 - Add "facility" field to LocationFilterForm #15027

Closed
opened 2025-12-30 00:19:32 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17232
Author: @bctiemann
Created: 8/21/2024
Status: Merged
Merged: 8/22/2024
Merged by: @jeremystretch

Base: developHead: 17177-add-facility-filter-to-LocationFilterForm


📝 Commits (1)

  • 12def4f Add "facility" field to LocationFilterForm

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 netbox/dcim/forms/filtersets.py (+5 -1)

📄 Description

Fixes: #17177 - Add "facility" field to LocationFilterForm

Adds a form field on the Locations filter form to allow filtering on the Facility field. This filtering behavior is already supported in the underlying mechanism, this just exposes the field in the UI.

Ordering of the Facility field (after Status in the Attributes fieldset) is open to comment; I put it at the end to match the placement in the default table column ordering.


🔄 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/17232 **Author:** [@bctiemann](https://github.com/bctiemann) **Created:** 8/21/2024 **Status:** ✅ Merged **Merged:** 8/22/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17177-add-facility-filter-to-LocationFilterForm` --- ### 📝 Commits (1) - [`12def4f`](https://github.com/netbox-community/netbox/commit/12def4fd04d07775b9727d119b1cd59057e616ea) Add "facility" field to LocationFilterForm ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/filtersets.py` (+5 -1) </details> ### 📄 Description ### Fixes: #17177 - Add "facility" field to LocationFilterForm Adds a form field on the Locations filter form to allow filtering on the Facility field. This filtering behavior is already supported in the underlying mechanism, this just exposes the field in the UI. Ordering of the Facility field (after Status in the Attributes fieldset) is open to comment; I put it at the end to match the placement in the default table column ordering. --- <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:19:32 +01:00
adam closed this issue 2025-12-30 00:19:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15027