#30628: order_by() on union() querysets results with wrong ordering when the
same
field type is presented multiple times.
-------------------------------------+-------------------------------------
Reporter: Julien Enselme | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 2.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ee6e93ec8727d0f5ed33190a3c354867669ed72f" ee6e93e]:
{{{
#!CommitTicketReference repository=""
revision="ee6e93ec8727d0f5ed33190a3c354867669ed72f"
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 in bc7e288ca9554ac1a0a19941302dea19df1acd21.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30628#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.b096423343d5345989d1c14adfcf80e2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.