Filterspec fails to remove __isnull when __exact passed
I have a link for my users that open a changelist page with a user__id__isnull=True. That changelist has also a list filter on my users. When a user is chosen, the filter __isnull is not removed.
I wrote this (working) patch modifying get_query_string function in admin/views/main.py.
I remove __isnull when __exact is passed (in remove or in new_params)
Change History
(5)
| Component: |
django-admin.py → django.contrib.admin
|
| Description: |
modified (diff)
|
| Has patch: |
set
|
| Needs tests: |
set
|
| Triage Stage: |
Unreviewed → Accepted
|
| Resolution: |
→ fixed
|
| Status: |
new → closed
|
This was another symptom of the bug in #8528, which has been resolved by the corresponding changeset [15649]. All is working fine now.