#17091: Djano 1.4 SimpleListFilter 'selected' option issue -------------------------------------+------------------------------------- Reporter: tejinderss@… | Owner: julien Type: Bug | Status: new Component: contrib.admin | Version: SVN Severity: Normal | Resolution: Keywords: SimpleListFilter, | Triage Stage: Design FilterSpec | decision needed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by julien): While looking at the `ChangeList` class' internals for the needs of this ticket, I realized that there were a few issues with the sequence in which admin filters and other query string lookups were processed. This led me to operate a significant refactor of those internals to untangle things a bit. With this patch, the query string lookups are processed once instead of twice and some bugs are avoided —in particular the `SimpleListFilter` parameter name being mistaken for a model field in some cases. The code for the `ChangeList`'s `get_filters()` and `get_query_set()` methods is now also much more streamlined. -- Ticket URL: <https://code.djangoproject.com/ticket/17091#comment:14> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.