[PR #15693] [CLOSED] 15635 filter search results if deactivated plugin #14646

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15693
Author: @arthanson
Created: 4/11/2024
Status: Closed

Base: developHead: 15635-search-deactivated-plugin


📝 Commits (1)

  • c34280d 15635 filter search results if deactivated plugin

📊 Changes

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

View changed files

📝 netbox/netbox/search/backends.py (+9 -1)

📄 Description

Fixes: #15635

Update search to exclude any records which refer to an instance of a model that's no longer installed. This can happen when a plugin is removed but its data remains in the database, for example.


🔄 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/15693 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 4/11/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `15635-search-deactivated-plugin` --- ### 📝 Commits (1) - [`c34280d`](https://github.com/netbox-community/netbox/commit/c34280d110dfc49bee307b10b8c9d4310e8739ac) 15635 filter search results if deactivated plugin ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/search/backends.py` (+9 -1) </details> ### 📄 Description ### Fixes: #15635 Update search to exclude any records which refer to an instance of a model that's no longer installed. This can happen when a plugin is removed but its data remains in the database, for example. --- <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:44 +01:00
adam closed this issue 2025-12-29 23:25:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14646