Media library filetypes should be filtered based on which media is being inserted
|Reported by:||johnbillion||Owned by:||anonymous|
Write a new post or edit an existing one, and click on the "Add Video" button. Now switch to the Media Library tab.
This list should automatically be filtered (using the post_mime_type filter already on there) to only show filetypes of video because the Add Video button has been clicked. Same goes for when you click the Add Image or Add Audio buttons, the list should be filtered accordingly. Authors can still use the filetype switcher at the top at any time to show all their media if they wish.
The same functionality could also be applied to the Gallery tab, but this doesn't currently have a filetype filter.