[Django] #27888: Option to clear all filters at top of filter list

93 views
Skip to first unread message

Django

unread,
Mar 1, 2017, 7:31:58 AM3/1/17
to django-...@googlegroups.com
#27888: Option to clear all filters at top of filter list
-----------------------------------------+------------------------
Reporter: David Herring | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
When in Django admin, it would be useful to be able to remove all filters
and search criteria set in one click.

--
Ticket URL: <https://code.djangoproject.com/ticket/27888>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 2, 2017, 10:57:47 AM3/2/17
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
--------------------------------------+------------------------------------

Reporter: David Herring | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

* component: Uncategorized => contrib.admin
* stage: Unreviewed => Accepted
* type: Uncategorized => Cleanup/optimization


Comment:

Seems okay as long as it's simple and tasteful. It might involve clearing
the query string. I think the functionality is already provide when search
is enabled. To the right right of the search box, something like "N
results (X total)" is displayed. If you click "X total", the query string
is removed and all results are displayed.

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:1>

Django

unread,
Mar 8, 2017, 6:57:04 AM3/8/17
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Md. Al-
Type: | Amin
Cleanup/optimization | Status: assigned

Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Md. Al-Amin ):

* status: new => assigned
* owner: nobody => Md. Al-Amin


Comment:

I am going to work on this ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:2>

Django

unread,
Mar 8, 2017, 8:14:19 AM3/8/17
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Md. Al-
Type: | Amin
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Md. Al-Amin ):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/8156

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:3>

Django

unread,
Apr 8, 2017, 3:27:11 PM4/8/17
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Md. Al-
Type: | Amin
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Collin Anderson):

* cc: cmawebsite@… (added)
* needs_better_patch: 0 => 1


Comment:

The button is hidden behind the filter box for me. My browser width is
around 1100px.

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:4>

Django

unread,
Apr 10, 2017, 1:50:38 AM4/10/17
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Md. Al-
Type: | Amin
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Md. Al-Amin ):

* needs_better_patch: 1 => 0


Comment:

Thanks for the report. I have fixed the styling issue and updated the
pull request.

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:5>

Django

unread,
Jun 6, 2017, 8:51:22 AM6/6/17
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Md. Al-
Type: | Amin
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:6>

Django

unread,
Jan 21, 2020, 9:24:37 AM1/21/20
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Hasan
Type: | Ramezani

Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Hasan Ramezani):

* owner: Md. Al-Amin => Hasan Ramezani


* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:7>

Django

unread,
Jan 22, 2020, 3:58:44 AM1/22/20
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_better_patch: 0 => 1

* version: 1.10 => master


--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:8>

Django

unread,
Jan 22, 2020, 5:29:42 PM1/22/20
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Hasan Ramezani):

* needs_better_patch: 1 => 0


Comment:

[https://github.com/django/django/pull/12351#issuecomment-577415747
Comment on PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:9>

Django

unread,
Jan 23, 2020, 9:08:17 AM1/23/20
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"b94764e178056a2118eff3f53f567207219e737d" b94764e1]:
{{{
#!CommitTicketReference repository=""
revision="b94764e178056a2118eff3f53f567207219e737d"
Fixed #27888 -- Added link to clear all filters in the admin changelist
view.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:10>

Django

unread,
Jan 24, 2020, 2:51:22 PM1/24/20
to django-...@googlegroups.com
#27888: Add a button to clear all admin filters
-------------------------------------+-------------------------------------
Reporter: David Herring | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"5d654e1e7104d2ce86ec1b9fe52865a7dca4b4be" 5d654e1e]:
{{{
#!CommitTicketReference repository=""
revision="5d654e1e7104d2ce86ec1b9fe52865a7dca4b4be"
Refs #27888 -- Removed redundant {% if %} in admin changelist filters.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27888#comment:11>

Reply all
Reply to author
Forward
0 new messages