[wp-trac] [WordPress Trac] #28895: Media Grid: Add a date filter

WordPress Trac noreply at wordpress.org
Mon Jul 14 17:06:38 UTC 2014


#28895: Media Grid: Add a date filter
--------------------------+-------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  4.0
Component:  Media         |    Version:  trunk
 Severity:  major         |   Keywords:  needs-patch
  Focuses:  javascript    |
--------------------------+-------------------------
 Related: [comment:ticket:24716:23]

 The media list view has a date filter, we should try to add one to the
 grid view too. But it seems like there is no API to support multiple
 `wp.media.view.AttachmentFilters` in one frame yet.

 Related code is [source:trunk/src/wp-includes/js/media-
 views.js at 29166#L5397] and [source:trunk/src/wp-includes/js/media-
 views.js at 29166#L5673]. Code for the date dropdown from the list table:
 [source:trunk/src/wp-admin/includes/class-wp-list-table.php at 29166#L442].

 If someone can came up with a patch for 4.0, that would be cool.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28895>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list