#29835: list_filter does not follow admin ordering, only model meta
-------------------------------------+-------------------------------------
Reporter: Brillgen Developers | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 2.0
Severity: Normal | Resolution:
Keywords: filter | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Brillgen Developers:
Old description:
> Django admin class provides an ordering field which overrides (or
> defines) the order in which objects should be displayed. This is
> respected by the new autocomplete field also in foreign keys.
>
> However the django admin list filter does not use the ordering from the
> related admin (if present) and only relies on the model meta ordering.
> This has a performance impact also as the model meta ordering applies to
> all queries, not just those for django admin.
New description:
Django admin class provides an ordering field which overrides the model
meta ordering/defines the order in which objects should be displayed. This
is respected by the new autocomplete field in foreign keys.
However the django admin list filter does not use the ordering from the
related admin (if present) and only relies on the model meta ordering.
This has a performance impact also as the model meta ordering applies to
all queries, not just those for django admin.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/29835#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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.d9f33c7819515e4fb8e32c1c6af860df%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.