mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
[2.2.x] Fixed #30628 -- Adjusted expression identity to differentiate bound fields.
Expressions referring to different bound fields should not be considered equal. Thanks Julien Enselme for the detailed report. Regression inbc7e288ca9
. Backport ofee6e93ec87
from master
This commit is contained in:
parent
8f0b9e7f9a
commit
9dee8515d6
6 changed files with 37 additions and 5 deletions
|
@ -9,4 +9,6 @@ Django 2.2.4 fixes several bugs in 2.2.3.
|
|||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Fixed a regression in Django 2.2 when ordering a ``QuerySet.union()``,
|
||||
``intersection()``, or ``difference()`` by a field type present more than
|
||||
once results in the wrong ordering being used (:ticket:`30628`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue