[PR #15611] [MERGED] Fixes #15608: Avoid caching values of null fields in search index #14627

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15611
Author: @jeremystretch
Created: 4/3/2024
Status: Merged
Merged: 4/4/2024
Merged by: @jeremystretch

Base: developHead: 15608-null-search-entries


📝 Commits (1)

  • 8a713de Fixes #15608: Avoid caching values of null fields in search index

📊 Changes

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

View changed files

📝 netbox/netbox/search/__init__.py (+3 -2)

📄 Description

Fixes: #15608

Tweak get_field_value() to avoid returning "None" for null values.


🔄 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/15611 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/3/2024 **Status:** ✅ Merged **Merged:** 4/4/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15608-null-search-entries` --- ### 📝 Commits (1) - [`8a713de`](https://github.com/netbox-community/netbox/commit/8a713de439c948f16b9a1a2567d2759c5c91127b) Fixes #15608: Avoid caching values of null fields in search index ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/search/__init__.py` (+3 -2) </details> ### 📄 Description ### Fixes: #15608 Tweak `get_field_value()` to avoid returning `"None"` for null values. --- <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:25:37 +01:00
adam closed this issue 2025-12-29 23:25:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14627