Skip to content

Fixes #17073 - Add search index for tags #19447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

pheus
Copy link
Contributor

@pheus pheus commented May 8, 2025

Fixes: #17073 - Include Tags in the global search

Introduces a search index for the Tag model to enable global search for Tags. Includes fields for name, slug, and description with corresponding weight values. Display attributes are limited to the description field.

Introduces a search index for the Tag model to enable global search for
Tags. Includes fields for name, slug, and description with corresponding
weight values. Display attributes are limited to the description field.

Fixes netbox-community#17073
@pheus
Copy link
Contributor Author

pheus commented May 8, 2025

Hi all - just a quick note: I realize the issue hasn’t been officially assigned to me yet, so I’ve opened this as a draft PR for now. Apologies for jumping ahead before getting the go-ahead - I just wanted to get the ball rolling and share an initial implementation for review.

Happy to make any adjustments as needed!

@jeremystretch jeremystretch marked this pull request as ready for review May 9, 2025 12:47
@jeremystretch jeremystretch requested review from a team and jeremystretch and removed request for a team May 9, 2025 12:47
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pheus!

@jeremystretch jeremystretch merged commit 127452f into netbox-community:main May 9, 2025
3 checks passed
@pheus pheus deleted the 17073-add-tag-search-index branch May 9, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include Tags in the global search.
2 participants