#24174: Extra order by ignores descending orderings -------------------------------------+------------------------------------- Reporter: BertrandBordage | Owner: jarshwah Type: Bug | Status: assigned Component: Database layer | Version: 1.8alpha1 (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 -------------------------------------+------------------------------------- Changes (by jarshwah):
* status: new => assigned * needs_better_patch: => 0 * needs_tests: => 0 * owner: nobody => jarshwah * needs_docs: => 0 * stage: Unreviewed => Accepted Comment: Based on looking at the models of the linked test suite I'm guessing that this is hitting the "duplicate" order by clause. It's keeping the default ordering of the model, which is by name ascending, and removing the extra which is by name descending. Extra ordering should prevent the default ordering from being applied, and the negative sign should be preserved. -- Ticket URL: <https://code.djangoproject.com/ticket/24174#comment:1> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/073.d03dccd2c307788c1abad80556826765%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.