#1873: Multi-select admin filter for RelatedFields
--------------------------------+------------------------------------
     Reporter:  marc@…          |                    Owner:  nobody
         Type:  New feature     |                   Status:  new
    Component:  contrib.admin   |                  Version:
     Severity:  Normal          |               Resolution:
     Keywords:  nfa-changelist  |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  1
  Needs tests:  0               |  Patch needs improvement:  1
Easy pickings:  0               |                    UI/UX:  1
--------------------------------+------------------------------------

Comment (by Carlton Gibson):

 Duplicates, looking for filters submitting multiple values in #31338 and
 #29121.

 For a query string like `?key=val1&key=val2&key=val3`,
 
[https://github.com/django/django/blob/c459a4661b2e96b53d3784c76e1fd5651b8cdc4a/django/contrib/admin/views/main.py#L87
 `ChangeList.__init__()` drops all but the last value]:

 {{{
         self.params = dict(request.GET.items())
 }}}

 Even if we didn't ship filters using this, accepting multiple params would
 let users implement such filters themselves.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/1873#comment:28>
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/073.b04ce4b32afdd32ab789f6595af02623%40djangoproject.com.

Reply via email to