[PR #4581] [CLOSED] Fixes #4580: Add id field filters for ipaddress, prefix and vlan #12877

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4581
Author: @loa
Created: 5/6/2020
Status: Closed

Base: developHead: add-id-filter-ipaddress-vlan-prefix


📝 Commits (1)

  • 4223a34 Add id field filters to ipaddress, prefix and vlan

📊 Changes

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

View changed files

📝 netbox/ipam/filters.py (+3 -3)

📄 Description

Fixes: #4580

Allow user to batch fetch ipaddress, prefix and vlan resources. Several resources in Netbox ex interface does reference multiple vlans, would be nice to be able to fetch all related resources at once.

This seem to have been possible before with id__in that was remove with #4313


🔄 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/4581 **Author:** [@loa](https://github.com/loa) **Created:** 5/6/2020 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `add-id-filter-ipaddress-vlan-prefix` --- ### 📝 Commits (1) - [`4223a34`](https://github.com/netbox-community/netbox/commit/4223a34505bd2e8e9cfbd960a1b61de6836f6741) Add id field filters to ipaddress, prefix and vlan ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/filters.py` (+3 -3) </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: #4580 <!-- Please include a summary of the proposed changes below. --> Allow user to batch fetch ipaddress, prefix and vlan resources. Several resources in Netbox ex interface does reference multiple vlans, would be nice to be able to fetch all related resources at once. This seem to have been possible before with `id__in` that was remove with #4313 --- <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:24:08 +01:00
adam closed this issue 2025-12-29 22:24:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12877