[PR #13586] [MERGED] Closes #13585: Introduce 'empty' lookup for numeric value filters #14217

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13586
Author: @jeremystretch
Created: 8/28/2023
Status: Merged
Merged: 8/28/2023
Merged by: @jeremystretch

Base: developHead: 13585-numeric-empty-lookup


📝 Commits (1)

  • 135731a Closes #13585: Introduce 'empty' lookup for numeric value filters

📊 Changes

3 files changed (+47 additions, -20 deletions)

View changed files

📝 docs/reference/filtering.md (+20 -19)
📝 netbox/utilities/constants.py (+2 -1)
📝 netbox/utilities/tests/test_filters.py (+25 -0)

📄 Description

Fixes: #13585

Automatically registers an empty lookup to filter non null/not-null numeric values (e.g. device position).


🔄 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/13586 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/28/2023 **Status:** ✅ Merged **Merged:** 8/28/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13585-numeric-empty-lookup` --- ### 📝 Commits (1) - [`135731a`](https://github.com/netbox-community/netbox/commit/135731ac03e6bc5bca33f78b2fe3b5e0e32b7e7d) Closes #13585: Introduce 'empty' lookup for numeric value filters ### 📊 Changes **3 files changed** (+47 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `docs/reference/filtering.md` (+20 -19) 📝 `netbox/utilities/constants.py` (+2 -1) 📝 `netbox/utilities/tests/test_filters.py` (+25 -0) </details> ### 📄 Description ### Fixes: #13585 Automatically registers an `empty` lookup to filter non null/not-null numeric values (e.g. device position). --- <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:23:13 +01:00
adam closed this issue 2025-12-29 23:23:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14217