[PR #9406] [MERGED] add role_id attribute to filter form of InventoryItem #13464

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9406
Author: @lastorel
Created: 5/22/2022
Status: Merged
Merged: 5/24/2022
Merged by: @jeremystretch

Base: developHead: 9365-rolefilter


📝 Commits (1)

  • 0570203 add role attribute to filter inventoryitems

📊 Changes

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

View changed files

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

📄 Description

Fixes: #9365

After #8172 there was no way to filter Inventory Item by Role.
The role_id attribute was added to filter form.


🔄 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/9406 **Author:** [@lastorel](https://github.com/lastorel) **Created:** 5/22/2022 **Status:** ✅ Merged **Merged:** 5/24/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `9365-rolefilter` --- ### 📝 Commits (1) - [`0570203`](https://github.com/netbox-community/netbox/commit/05702038915cf93d77fb2d75898a484257844a83) add role attribute to filter inventoryitems ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/filtersets.py` (+1 -1) </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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #9365 <!-- Please include a summary of the proposed changes below. --> After #8172 there was no way to filter Inventory Item by Role. The `role_id` attribute was added to filter form. --- <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:19:00 +01:00
adam closed this issue 2025-12-29 23:19:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13464