#23259: Query extra() select_params are inserted in the incorrect order in the
overall query parameters with values_list
-------------------------------------+-------------------------------------
     Reporter:  rajivm               |                    Owner:  akaariai
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.7-rc-2
  (models, ORM)                      |               Resolution:  fixed
     Severity:  Release blocker      |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  1                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Anssi Kääriäinen <akaariai@…>):

 In [changeset:"4ce5ced230481fc93288aeea922398bc36102d1e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="4ce5ced230481fc93288aeea922398bc36102d1e"
 [1.7.x] Fixed #23259 -- Corrected insertion order of extra() select_params

 A regression caused queries to produce incorrect results for cases where
 extra(select) is excluded by values() but included by extra(order_by)

 The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc.

 Backport of f0b358880a from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23259#comment:11>
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/064.2a55d6f3e96d75c18e75f3f79d9684fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to