#31657: Self referencing foreign key doesn't correctly order by a relation "_id"
field.
-------------------------------------+-------------------------------------
     Reporter:  Jack Delany          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  3.1
  (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 Jack Delany):

 FWIW, I did apply the suggested fix to my local version and I do now get
 what looks like correct behavior and results that match what Simon
 suggested should be the sort results.  Also my annotate "workaround"
 continues to behave correctly.   Looks promising.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31657#comment:4>
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/066.08ee721a487b0653d8fe4e0c334b5037%40djangoproject.com.

Reply via email to