#31657: Self referencing foreign key doesn't correctly order by a relation "_id" field. -------------------------------------+------------------------------------- Reporter: Jack Delany | Owner: Hasan | Ramezani Type: Bug | Status: closed Component: Database layer | Version: 3.1 (models, ORM) | Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"4385ef0119c2e800f44ae92e3215cc8e571f6e7d" 4385ef01]: {{{ #!CommitTicketReference repository="" revision="4385ef0119c2e800f44ae92e3215cc8e571f6e7d" [3.1.x] Fixed #31657 -- Fixed ordering by attnames of self-referential ForeignKeys. Backport of 037a624120b676858be4b93c4d0adda45916fd2a from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31657#comment:11> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.bab8aca967546bdb3e141b6417bccfd6%40djangoproject.com.