Opened 11 years ago
Closed 11 years ago
#29065 closed defect (bug) (fixed)
Media grid not filtering for Unattached Media
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | has-patch |
Focuses: | javascript, administration | Cc: |
Description
When viewing Unattached Media at wp-admin/upload.php?detached=1&mode=grid
, all media is shown. Switching to list mode at wp-admin/upload.php?detached=1&mode=list
filters to only the unattached media.
Attachments (2)
Change History (7)
#3
@
11 years ago
- Focuses javascript added
- Keywords has-patch added; needs-patch 2nd-opinion removed
29065.diff makes the filters possible for unattached
#4
@
11 years ago
I think the unattached filter should only be added to wp.media.view.AttachmentFilters.All
, see 29065.2.diff. The mime-types filter is added in 4.0 for the grid, but we could use the ".All" filter here too and just check inside the filter if wp.media.view.settings.post.id
is set.
Note: See
TracTickets for help on using
tickets.
Related: #28946