[wp-trac] [WordPress Trac] #14368: make the 'orderby' argument in get_posts() accept all "post" fields

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 04:32:20 UTC 2011


#14368: make the 'orderby' argument in get_posts() accept all "post" fields
-------------------------+------------------
 Reporter:  wjm          |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.2
Component:  Query        |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by greenshady):

 +1 for this.

 I needed to order some book/movie titles alphabetically the other day by
 slug (post_name field) because some titles have "a," "an," and "the" in
 them.  The slug doesn't have these words.

 I'll be glad to help with this if needed.

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


More information about the wp-trac mailing list