[PR #20255] [MERGED] Closes #20237 - Add search index for TunnelGroup #15859

Closed
opened 2025-12-30 00:24:27 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20255
Author: @pheus
Created: 9/4/2025
Status: Merged
Merged: 9/4/2025
Merged by: @jeremystretch

Base: mainHead: 20237-add-vpn-tunnel-groups-to-global-search


📝 Commits (1)

  • a7c6938 feat(vpn): Add search index for TunnelGroup

📊 Changes

1 file changed (+11 additions, -0 deletions)

View changed files

📝 netbox/vpn/search.py (+11 -0)

📄 Description

Fixes: #20237

Adds TunnelGroupIndex so VPN Tunnel Groups appear in the global search (parity with VLAN Groups). Indexes name (high weight) and description (lower weight). No schema or API changes.

Tested: Created a sample group; global search now hits on name/description and links to the object view as expected.


🔄 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/20255 **Author:** [@pheus](https://github.com/pheus) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `20237-add-vpn-tunnel-groups-to-global-search` --- ### 📝 Commits (1) - [`a7c6938`](https://github.com/netbox-community/netbox/commit/a7c69388551dc3263ebc3ae9d37ae2902cd3df1f) feat(vpn): Add search index for TunnelGroup ### 📊 Changes **1 file changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/vpn/search.py` (+11 -0) </details> ### 📄 Description ### Fixes: #20237 Adds `TunnelGroupIndex` so VPN Tunnel Groups appear in the global search (parity with VLAN Groups). Indexes `name` (high weight) and `description` (lower weight). No schema or API changes. **Tested:** Created a sample group; global search now hits on name/description and links to the object view as expected. --- <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-30 00:24:27 +01:00
adam closed this issue 2025-12-30 00:24:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15859