#31614: order_by() with expressions crashes on union() querysets.
-------------------------------------+-------------------------------------
     Reporter:  Laurent Tramoy       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Laurent Tramoy):

 Replying to [comment:1 felixxm]:
 > Thanks, yes it is a different issue that is strictly related with using
 expressions in `.order_by()`. Potential fix should target
 
[https://github.com/django/django/blob/4484bc1b2f84da6442c9c2bfd95d3f1f7d8f96f7/django/db/models/sql/compiler.py#L368-L371
 these lines]. Would you like to try?

 Ok I'll give it a try this week end, I just need to read django
 conventions before, as I've never committed on this project

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31614#comment:2>
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/064.9c4f134563a2fb72b745d1411db593be%40djangoproject.com.

Reply via email to