#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               |       Keywords:  filter
           Triage Stage:  Unreviewed           |      Has patch:  0
    Needs documentation:  0                    |    Needs tests:  0
Patch needs improvement:  0                    |  Easy pickings:  0
                  UI/UX:  0                    |
-----------------------------------------------+------------------------
 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29835>
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/051.e950e699f5b586e8aa748b561be238b5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to