Changes between Initial Version and Version 1 of Ticket #37473, comment 4
- Timestamp:
- Nov 3, 2026, 7:07:58 PM (48 minutes ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37473, comment 4
initial v1 3 3 If you want to give a shot at fixing the issue, it most likely lies in [https://github.com/django/django/blob/1860f0a3f41e54f265e57de76d320ea0887d6b1c/django/db/models/sql/query.py#L603 this area] where we adjust `.select` but not `.selected` which was introduced in 65ad4ade74dc9208b9d686a451cd6045df0c9c3a. 4 4 5 Note that we can't use `set_values` as it clears the `group_by` clause that we want to preserve even if eliding the annotation to preserve the semantic of the query. 6