Make WordPress Core

Opened 7 years ago

Closed 5 years ago

#9259 closed task (blessed) (fixed)

Add sorting options to media library (+uploader)

Reported by: janeforshort Owned by: scribu
Milestone: 3.1 Priority: normal
Severity: normal Version: 2.8
Component: Media Keywords: needs-patch gsoc
Focuses: Cc:


In the media library, you can filter by file type, but there is no sorting function, so if you have lots of media files, you have to wade through pages of files to get to the chronological place in the list where the image you want was first uploaded. It would be helpful to add sorting options, so people could view by Date (default, current view), Name (alphabetically A-Z) or Most used (favorites? not sure of right label). The last option would be a big help for people who consistently use certain images over an dover (for example, people who write about WordPress on their blogs will drop the same logo in over and over. As it is, it's often easier to upload a new image instead of trying to find where the existing one is, which seems wrong.

Change History (15)

comment:1 @johnbillion7 years ago


This is a good idea. Sorting by date/title would be a relatively simple patch, sorting by usage frequency would require a little more work.

comment:2 @Denis-de-Bernardy6 years ago

  • Keywords needs-patch added
  • Milestone changed from 2.8 to Future Release

comment:3 @Denis-de-Bernardy6 years ago

  • Milestone changed from Future Release to 2.9

comment:4 @ryan6 years ago

  • Milestone changed from 2.9 to 3.0

comment:5 @nacin6 years ago

  • Milestone changed from 3.0 to 3.1

comment:6 @hakre5 years ago

I just missed it.

Related: #13443

comment:7 @hakre5 years ago

Searching for the exact filename (incl. file extension) is not possible as well.

comment:8 @hakre5 years ago

Just found this out: Searching for the filename overall does not work. Searching only works for the title. Could be improved.

comment:9 @hakre5 years ago

Another UX Issue: Being on last page on searched/filtered results and then permantly deleting all images on it will bring me to an empty page instead of the now last page (paged is not limited to last page automatically).

comment:10 @hakre5 years ago

Related: #11114

comment:11 @scribu5 years ago

  • Keywords gsoc added
  • Milestone changed from Awaiting Triage to 3.1
  • Owner set to scribu
  • Status changed from new to assigned

comment:13 @voyagerfan57615 years ago

  • Cc WordPress@… added

comment:14 @byronyasgur5 years ago

I think this is definitley needed - I would also like to propose 3 more filter options, filter by custom post type, by media type and by author.

By author: for multi author blogs, excpecially image heavy blogs this would be invaluable

By Custom Post Type - the recent accessibility of custom post types has presented many possibilities to the WordPress developer as we all know, however it is unusual that all the media from separate custom post types are all thrown together into the one section

By media type: simply listing all the images, or all the audio files etc

comment:15 @scribu5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.