Changes between Initial Version and Version 1 of Ticket #31614


Ignore:
Timestamp:
May 20, 2020, 2:46:11 PM (4 years ago)
Author:
Mariusz Felisiak
Comment:

Thanks, yes it is a different issue that is strictly related with using expressions in .order_by(). Potential fix should target these lines. Would you like to try?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31614

    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Add a NULLS FIRST / LAST clause while ordering a unionorder_by() with expressions crashes on union() querysets.
    • Property Type UncategorizedBug
  • Ticket #31614 – Description

    initial v1  
    1 I have read the recent tickets about unions and order_by (https://code.djangoproject.com/ticket/31496, https://code.djangoproject.com/ticket/27995, https://code.djangoproject.com/ticket/30628) , and my bug is slightly different, so I hope it's not a duplicate.
     1I have read the recent tickets about unions and order_by (#31496, #27995, #30628) , and my bug is slightly different, so I hope it's not a duplicate.
    22
    33Let's consider two similar models:
Back to Top