Fixes #21032: Avoid subquery in RestrictedQuerySet where unnecessary #689

Closed
opened 2026-04-05 17:11:00 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 12/23/2025

Fixes: #21032

Check whether qs_filter_from_constraints() returns a query filter. If not, skip the subquery.

*Originally created by @jeremystretch on 12/23/2025* ### Fixes: #21032 Check whether `qs_filter_from_constraints()` returns a query filter. If not, skip the subquery.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#689