From 511dc3db539122577aaba71f5a24d65d5adab092 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 6 Apr 2023 08:19:53 -0400 Subject: [4.2.x] Fixed #34464 -- Fixed queryset aggregation over group by reference. Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7. Refs #28477. Thanks Ian Cubitt for the report. Backport of 9daf8b4109c3e133eb57349bb44d73cc60c5773c from main --- docs/releases/4.2.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.2.1.txt b/docs/releases/4.2.1.txt index c768b98b18..f8a4edf787 100644 --- a/docs/releases/4.2.1.txt +++ b/docs/releases/4.2.1.txt @@ -15,3 +15,6 @@ Bugfixes * Fixed a regression in Django 4.2 that caused a crash of :class:`~django.contrib.postgres.search.SearchVector` function with ``%`` characters (:ticket:`34459`). + +* Fixed a regression in Django 4.2 that caused aggregation over query that + uses explicit grouping to group against the wrong columns (:ticket:`34464`). -- cgit v1.3