[wp-trac] [WordPress Trac] #15031: WP_Query can no longer sort by meta value

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 20:04:41 UTC 2010


#15031: WP_Query can no longer sort by meta value
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:  scribu        
     Type:  enhancement    |      Status:  new           
 Priority:  normal         |   Milestone:  Future Release
Component:  Query          |     Version:  3.1           
 Severity:  normal         |    Keywords:  dev-feedback  
---------------------------+------------------------------------------------
Changes (by scribu):

  * type:  defect (bug) => enhancement
  * milestone:  3.1 => Future Release


Comment:

 It turns out this combination still works:

 {{{
 query_posts( array(
   'meta_key' => 'foo',
   'orderby' => 'meta_value'
 ) );
 }}}

 So it's not a regression.

 Moving to Future until we can figure out a better solution.

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


More information about the wp-trac mailing list