#37097: Nested double-unioned query for model with ordering fails on 
Postgres/MySql
-------------------------------------+-------------------------------------
     Reporter:  Shai Berger          |                    Owner:  Jacob
                                     |  Walls
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"0e1d950fbb44878f6972a0e5730f69f98caf468e" 0e1d950]:
 {{{#!CommitTicketReference repository=""
 revision="0e1d950fbb44878f6972a0e5730f69f98caf468e"
 Fixed #37097 -- Made Query.clear_ordering() clear ordering on combined
 queries also.

 Thanks Shai Berger for the report.

 Regression in 087bb9e8f3478d53f12b1737af865992af17c5f2.

 (That commit drove more traffic into an error that would have been
 reachable only with an explicit order_by() after each union().)

 Co-authored-by: Simon Charette <[email protected]>
 Co-authored-by: siddus <[email protected]>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37097#comment:8>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019e3ce9415b-15010f19-3b6c-4f73-8935-d3d096b91faa-000000%40eu-central-1.amazonses.com.

Reply via email to