Re: [Django] #33678: order_by crash when sorting by a foreign key referencing a Model with an ordering that includes expressions

2 views
Skip to first unread message

Django

unread,
May 4, 2022, 12:19:30 AM5/4/22
to django-...@googlegroups.com
#33678: order_by crash when sorting by a foreign key referencing a Model with an
ordering that includes expressions
-------------------------------------+-------------------------------------
Reporter: Eduardo Rivas | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

IMO it's a duplicate of #29538.

--
Ticket URL: <https://code.djangoproject.com/ticket/33678#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 4, 2022, 10:56:54 AM5/4/22
to django-...@googlegroups.com
#33678: order_by crash when sorting by a foreign key referencing a Model with an
ordering that includes expressions
-------------------------------------+-------------------------------------
Reporter: Eduardo Rivas | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: duplicate
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 Simon Charette):

It is, thanks Mariusz.

--
Ticket URL: <https://code.djangoproject.com/ticket/33678#comment:3>

Django

unread,
May 4, 2022, 7:14:06 PM5/4/22
to django-...@googlegroups.com
#33678: order_by crash when sorting by a foreign key referencing a Model with an
ordering that includes expressions
-------------------------------------+-------------------------------------
Reporter: Eduardo Rivas | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: duplicate
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 Eduardo Rivas):

Thanks for the pointer Simon. And yes, I'd like to dive into this

--
Ticket URL: <https://code.djangoproject.com/ticket/33678#comment:4>

Reply all
Reply to author
Forward
0 new messages