summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2025-01-14 00:18:30 -0500
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-02-06 14:27:51 +0100
commit2598b371a93e21d84b7a2a99b2329535c8c0c138 (patch)
treeabaf32fc5bb448677232f2dbb6b46ddc42a07ab2 /AUTHORS
parentdb7b1ae9f6d9e26facbb3da4cf5f5a513704bfe5 (diff)
Fixed #35677 -- Avoided non-sticky filtering of prefetched many-to-many.
The original queryset._next_is_sticky() call never had the intended effect as no further filtering was applied internally after the pk__in lookup making it a noop. In order to be coherent with how related filters are applied when retrieving objects from a related manager the effects of what calling _next_is_sticky() prior to applying annotations and filters to the queryset provided for prefetching are emulated by allowing the reuse of all pre-existing JOINs. Thanks David Glenck and Thiago Bellini Ribeiro for the detailed reports and tests.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions