[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
Fri May 20 04:16:57 UTC 2011


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

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 I can understand that you say ordering by date/ time is on upload
 attachment creation time. In fact that is what we expect of this feature.

 But what I am saying is this functionality does not work at all. It fails
 to recognize file ordering by date of creation and in fact inserts a wrong
 short code!

 Simply loading a couple of files called 1.jpg,2.jpg,3.jpg will work
 anyways because of this bug (order by date resets to order by id)! That's
 why I said rename those files and see if order by date/ time works.

 I do not want to control gallery ordering beyond the above mentioned
 point. Hope I made it clear this time.

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


More information about the wp-trac mailing list