[wp-trac] [WordPress Trac] #16329: Sorting query_posts posts by the order of id's given in post__in

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 21 22:59:00 UTC 2011


#16329: Sorting query_posts posts by the order of id's given in post__in
--------------------------+------------------------
 Reporter:  danielpataki  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  3.1
 Severity:  minor         |  Resolution:  duplicate
 Keywords:  orderby       |
--------------------------+------------------------

Comment (by danielpataki):

 Thanks for the link to the other ticket, that is exactly what I was
 looking for, excuse the duplicate post.

 As for the UNIONs, achieving the desired result is not difficult, I just
 wanted to be able to use query_posts. Since query posts can not display
 items in the order they are passed I won't be able to do so.

 I will try and submit a patch in the other thread :)

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


More information about the wp-trac mailing list