Opened 14 years ago
Closed 9 years ago
#15935 closed New feature (duplicate)
Allow django admin filter to be hidable
Reported by: | jjconti | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.3 |
Severity: | Normal | Keywords: | admin, filters, ui, admin_revamp |
Cc: | dougal85@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | yes |
Description
When you are using Django admin, and show lots of columns in a model's list view and add filters to it. You may have a problem. The filter may overlap your latests columns.
Django now cames with JQuery, so we can use this js library to add some nice behaviour.
The attached patch change admin/templates/admin/change_list.html in order to do this.
Attachments (1)
Change History (8)
by , 14 years ago
Attachment: | patch_hide_admin_filter.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Cc: | added |
---|
follow-up: 6 comment:4 by , 13 years ago
Keywords: | filters ui added; filter lists removed |
---|
Being able to hide the filters could be useful in some situations (e.g. to gain more space for the changelist), however note that the core of the overlap issue would be addressed by #9181.
comment:5 by , 13 years ago
UI/UX: | set |
---|
comment:6 by , 13 years ago
Keywords: | admin_revamp added |
---|
Replying to julien:
Being able to hide the filters could be useful in some situations (e.g. to gain more space for the changelist), however note that the core of the overlap issue would be addressed by #9181.
Agree. I like the idea of being able to hide the filter sidebar. This implementation is confusing, but much of the problem is due to the constraints imposed by the admin's existing structure/CSS layout. We should solve this as part of a larger refactoring of the admin.
comment:7 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #21183 which has a patch and tests, but needs some improvements.
issue patch