#32658: Subquery ignores query ordering
-------------------------------------+-------------------------------------
     Reporter:  Bálint Balina        |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  Subquery,            |             Triage Stage:
  annotations, ordering              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Bálint Balina):

 After digging deeper, I have found that this is the duplicate of
 https://code.djangoproject.com/ticket/31687 , which was closed without any
 real explanation about why this working behaviour changed. I am aware of
 the solution provided, but it would require quite some code changes, which
 is fine but seems unreasonable. At very least I would like to know why it
 is necessary to remove the ordering from the subquery.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32658#comment:1>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/075.38d55e21c33819229d9ae26d257b0825%40djangoproject.com.

Reply via email to