[PR #4244] [MERGED] Fixes: #4230 - Fixes rack units filtering on elevation endpoint #12800

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4244
Author: @DanSheps
Created: 2/22/2020
Status: Merged
Merged: 2/24/2020
Merged by: @DanSheps

Base: developHead: 4230-filter_rack_unit_on_elevations


📝 Commits (1)

  • 2b75e05 Fixes: #4230 - Fixes filtering by position on elevation endpoint

📊 Changes

3 files changed (+31 additions, -0 deletions)

View changed files

📝 netbox/dcim/api/serializers.py (+4 -0)
📝 netbox/dcim/api/views.py (+5 -0)
📝 netbox/dcim/tests/test_api.py (+22 -0)

📄 Description

Fixes: 4230 - Fixes rack units filtering on elevation endpoint

  • Add tests for rack elevation filtering
  • Add q variable to RackElevationDetailFilterSerializer
  • Add code to allow filtering of position on the rack elevation

🔄 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/4244 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 2/22/2020 **Status:** ✅ Merged **Merged:** 2/24/2020 **Merged by:** [@DanSheps](https://github.com/DanSheps) **Base:** `develop` ← **Head:** `4230-filter_rack_unit_on_elevations` --- ### 📝 Commits (1) - [`2b75e05`](https://github.com/netbox-community/netbox/commit/2b75e05ea7d2b6ff0b50d7c991bcec593107326f) Fixes: #4230 - Fixes filtering by position on elevation endpoint ### 📊 Changes **3 files changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers.py` (+4 -0) 📝 `netbox/dcim/api/views.py` (+5 -0) 📝 `netbox/dcim/tests/test_api.py` (+22 -0) </details> ### 📄 Description ### Fixes: 4230 - Fixes rack units filtering on elevation endpoint * Add tests for rack elevation filtering * Add q variable to RackElevationDetailFilterSerializer * Add code to allow filtering of position on the rack elevation --- <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:23:41 +01:00
adam closed this issue 2025-12-29 22:23:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12800