Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#9259 closed task (blessed) (fixed)

Add sorting options to media library (+uploader)

Reported by: janeforshort's profile janeforshort Owned by: scribu's profile 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)

#1 @johnbillion
15 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.

#2 @Denis-de-Bernardy
15 years ago

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

#3 @Denis-de-Bernardy
15 years ago

  • Milestone changed from Future Release to 2.9

#4 @ryan
14 years ago

  • Milestone changed from 2.9 to 3.0

#5 @nacin
14 years ago

  • Milestone changed from 3.0 to 3.1

#6 @hakre
14 years ago

I just missed it.

Related: #13443

#7 @hakre
14 years ago

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

#8 @hakre
14 years ago

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

#9 @hakre
14 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).

#10 @hakre
14 years ago

Related: #11114

#11 @scribu
14 years ago

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

#13 @voyagerfan5761
14 years ago

  • Cc WordPress@… added

#14 @byronyasgur
14 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

#15 @scribu
14 years ago

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