[wp-trac] [WordPress Trac] #25493: Sorting posts in ascending order of date at admin side

WordPress Trac noreply at wordpress.org
Thu Sep 3 23:16:22 UTC 2015


#25493: Sorting posts in ascending order of date at admin side
-------------------------------+-----------------------------
 Reporter:  vinod dalvi        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * keywords:  has-patch commit => has-patch


Comment:

 Probably needs to be more like [attachment:25493.diff 25493.diff], which
 is still weird - it's not the right solution because it arbitrarily
 defaults to `date`. In the previous patch, the CSS classes weren't
 reflecting the proper state. There is no real holder of the state of the
 request, so it is hard to parse out what the values of `orderby` and
 `order` are when there is no query string. `order` gets filled in,
 `orderby` does not.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25493#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list