#23622: Subquery doesn't respect order when not bound to a __pk__ field.
-------------------------------------+-------------------------------------
     Reporter:  ris                  |                    Owner:
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.7
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  subquery order       |      Needs documentation:  0
  distinct                           |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by ris):

 I've also just realized (in #23791) that adding a {{{.values ( "pk" )}}}
 also removes the {{{ORDER BY}}} clause of the subquery

--
Ticket URL: <https://code.djangoproject.com/ticket/23622#comment:3>
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/061.d9f6ab167ffee9a68877fff5a313900d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to