[wp-trac] [WordPress Trac] #13729: Post Query should be able to order by specific order passed in "post__in"

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 5 22:09:15 UTC 2012


#13729: Post Query should be able to order by specific order passed in "post__in"
-----------------------------------+-----------------------------
 Reporter:  jakemgold              |       Owner:  jakemgold
     Type:  enhancement            |      Status:  accepted
 Priority:  normal                 |   Milestone:  Future Release
Component:  Query                  |     Version:  3.0
 Severity:  minor                  |  Resolution:
 Keywords:  2nd-opinion has-patch  |
-----------------------------------+-----------------------------

Comment (by Otto42):

 ORDER BY FIELD also works. Not sure if there is a performance difference.

 See my answer to this sort of problem here:
 http://wordpress.stackexchange.com/questions/62546/orderby-none-not-
 working/62551#62551

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


More information about the wp-trac mailing list