Fixed #36405 -- Fixed Aggregate.order_by using OuterRef.

co-authored-by: Simon Charette <charette.s@gmail.com>
This commit is contained in:
Adam Johnson 2025-05-21 13:48:59 +01:00 committed by Sarah Boyce
parent b8e5a8a9a2
commit c2615a0500
4 changed files with 45 additions and 5 deletions

View file

@ -25,3 +25,7 @@ Bugfixes
* Fixed a regression in Django 5.2 that caused a crash when using ``OuterRef``
in the ``filter`` argument of an ``Aggregate`` expression (:ticket:`36404`).
* Fixed a regression in Django 5.2 that caused a crash when using ``OuterRef``
in PostgreSQL aggregate functions ``ArrayAgg``, ``StringAgg``, and
``JSONBAgg`` (:ticket:`36405`).