[wp-trac] [WordPress Trac] #14478: Allow explicit ordering of included posts in query_posts

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 25 20:09:12 UTC 2011


#14478: Allow explicit ordering of included posts in query_posts
--------------------------+-----------------------------
 Reporter:  daltonrooney  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by dgwyer):

 Would it be better to name this 'orderby=include' to make it clear the
 source of the sort order is from the 'include' parameter?

 So, it would be something like:
 query_posts("include=3,2,5,4,1&orderby=include")

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


More information about the wp-trac mailing list