[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
Mon Jun 6 01:50:09 UTC 2011


#17485: Sort Order by Date in WP Gallery resorts to order by ID
--------------------------+-------------------------
 Reporter:  nrajesh       |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Gallery       |     Version:  3.1.2
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  close         |
--------------------------+-------------------------
Changes (by azaozz):

 * status:  reviewing => closed
 * resolution:   => worksforme
 * severity:  critical => normal


Comment:

 Replying to [comment:8 nrajesh]:
 > You are right about Ids are getting created sequentially - but what
 determines their sequence? Surely not the creation time of the pics...

 No, it's not the creation time of the images, it's the upload time. The
 IDs are an auto-increment field in the database and each is created as the
 next image is uploaded.

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


More information about the wp-trac mailing list