#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
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"9dee8515d6f2876fa039aaebdfe8e2bc9de63085" 9dee8515]:
 {{{
 #!CommitTicketReference repository=""
 revision="9dee8515d6f2876fa039aaebdfe8e2bc9de63085"
 [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 in bc7e288ca9554ac1a0a19941302dea19df1acd21.

 Backport of ee6e93ec8727d0f5ed33190a3c354867669ed72f from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30628#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.ea29b4689ff52942b0f944bc9f930d1e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to