[wp-trac] [WordPress Trac] #17485: Sort Order by Date in WP Gallery resorts to order by ID

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 24 11:37:28 UTC 2011


#17485: Sort Order by Date in WP Gallery resorts to order by ID
-----------------------------------------------+---------------------------
 Reporter:  nrajesh                            |       Owner:  westi
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  Future
Component:  Gallery                            |  Release
 Severity:  normal                             |     Version:  3.1.2
 Keywords:  3.3-early westi-likes 2nd-opinion  |  Resolution:  fixed
-----------------------------------------------+---------------------------
Changes (by westi):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [18596]:
 {{{
 #!CommitTicketReference repository="" revision="18596"
 When inserting a Gallery to be ordered by Date/Time use the post_date
 field for ordering rather than ID so that if the user/plugin has updated
 this to reflect the date/time when an image was captured we order
 correctly. Fixes #17485 props SergeyBiryukov.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17485#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list