#27888 closed Cleanup/optimization (fixed)
Add a button to clear all admin filters
Reported by: | David Herring | Owned by: | Hasan Ramezani |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | cmawebsite@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description ¶
When in Django admin, it would be useful to be able to remove all filters and search criteria set in one click.
Change History (11)
comment:1 by , 8 years ago
Component: | Uncategorized → contrib.admin |
---|---|
Summary: | Option to clear all filters at top of filter list → Add a button to clear all admin filters |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
Version 0, edited 8 years ago by (next)
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I am going to work on this ticket.
comment:4 by , 8 years ago
Cc: | added |
---|---|
Patch needs improvement: | set |
The button is hidden behind the filter box for me. My browser width is around 1100px.
comment:5 by , 8 years ago
Patch needs improvement: | unset |
---|
Thanks for the report. I have fixed the styling issue and updated the pull request.
comment:6 by , 8 years ago
Patch needs improvement: | set |
---|
comment:7 by , 5 years ago
Owner: | changed from | to
---|---|
Patch needs improvement: | unset |
comment:8 by , 5 years ago
Patch needs improvement: | set |
---|---|
Version: | 1.10 → master |
Note:
See TracTickets
for help on using tickets.
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.