Skip to content

Conversation

@pheus
Copy link
Contributor

@pheus pheus commented Nov 6, 2025

Fixes: #20755

Stop traversing the related ProviderAccount in ProviderFilterSet.search().
Including related models in NetBox search() methods can cause duplicate results, unexpected matches, and unnecessary joins.

Stop traversing the related ProviderAccount in
ProviderFilterSet.search(). Including related models in NetBox search()
can yield duplicate results and unexpected matches, and also triggers
unnecessary joins.

Fixes netbox-community#20755
@jeremystretch jeremystretch requested review from a team and jnovinger and removed request for a team November 6, 2025 21:24
@jnovinger jnovinger merged commit 8005b56 into netbox-community:main Nov 7, 2025
7 checks passed
@pheus pheus deleted the 20755-fix-provider-filterset-search-related-model branch November 7, 2025 15:27
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.

Duplicate Responses in filterqueries

2 participants