#19755: Incremental filter
-------------------------------+---------------------------
     Reporter:  paulox@…       |      Owner:  nobody
         Type:  New feature    |     Status:  new
    Component:  contrib.admin  |    Version:  master
     Severity:  Normal         |   Keywords:  filter, admin
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  1
-------------------------------+---------------------------
 Would be a good feature to have filter's value that change incrementally
 when user select one of them.


 I try to explain with an example:


 {{{
 class Person(models.Model):
     name = models.CharField()
     hair_color = models.CharField()
     eye_color = models.CharField()

 class PersonAdmin(admin.ModelAdmin):
     list_filter = ["hair_color", "eye_color"]
 }}}

 At first I'll see all hair color and eye color values in the filter.

 When I select an hair color value from the filter I'll see only person
 with that hair color.

 I would view in the eye color filter only distinct values of eye colors of
 person that have hair color I selected from the filter.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19755>
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to