[https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!topic
/django-developers/zrQSMqJsnRQ Discussion on the mailing list].
Thanks Fran Hrženjak for the report.
--
Ticket URL: <https://code.djangoproject.com/ticket/31603>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Hasan Ramezani):
@felixxm
I've just created a [https://github.com/django/django/pull/12931 PR] to
fix this ticket. not sure about the solution.
I can complete the PR and add more tests if you are OK with the proposed
solution.
--
Ticket URL: <https://code.djangoproject.com/ticket/31603#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/12934 New PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/31603#comment:2>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/31603#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"4484bc1b2f84da6442c9c2bfd95d3f1f7d8f96f7" 4484bc1b]:
{{{
#!CommitTicketReference repository=""
revision="4484bc1b2f84da6442c9c2bfd95d3f1f7d8f96f7"
Fixed #31597, #31603 -- Corrected admin clear all filters link behavior.
- Show "Clear all filters" only when any filter is selected.
- Preserve query string not related with filters.
Co-Authored-By: Hasan Ramezani <hasa...@gmail.com>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31603#comment:4>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"47e21d339f91502f414ee2776a72a137e1994072" 47e21d33]:
{{{
#!CommitTicketReference repository=""
revision="47e21d339f91502f414ee2776a72a137e1994072"
[3.1.x] Fixed #31597, #31603 -- Corrected admin clear all filters link
behavior.
- Show "Clear all filters" only when any filter is selected.
- Preserve query string not related with filters.
Co-Authored-By: Hasan Ramezani <hasa...@gmail.com>
Backport of 4484bc1b2f84da6442c9c2bfd95d3f1f7d8f96f7 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31603#comment:5>