#31975: Add support for list of fields to admin_order_field.
-------------------------------------+-------------------------------------
Reporter: Petr DlouhĂ˝ | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution: wontfix
Keywords: admin_order_field, | Triage Stage:
ModelAdmin | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Petr DlouhĂ˝):
I don't think, that is that niche, I even found Django snippet for this
created years ago: https://djangosnippets.org/snippets/10471/
On one hand it is small modification of Django code and small increase in
API complexity (which is consistent with the logic of other order fields,
BTW), on the other hand is many hours spend by programmers creating
unreadable Concat code in users applications and/or copying of large
portion of `get_queryset` function.
--
Ticket URL: <https://code.djangoproject.com/ticket/31975#comment:7>
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/068.2d938c145476c4f8e2a35f068eb510be%40djangoproject.com.