[wp-trac] [WordPress Trac] #10649: Meta_key sort for numeric values / Natural Sort Order

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 18 10:33:27 UTC 2010


#10649: Meta_key sort for numeric values / Natural Sort Order
-------------------------+--------------------------------------------------
 Reporter:  stencil      |       Owner:  ryan                  
     Type:  enhancement  |      Status:  new                   
 Priority:  high         |   Milestone:  3.0                   
Component:  Query        |     Version:  2.8.4                 
 Severity:  normal       |    Keywords:  dev-feedback has-patch
-------------------------+--------------------------------------------------

Comment(by stencil):

 I think this is really a bug, simply because sorting posts via a numerical
 meta_key fails to work when values are > 9.

 The addition of meta_value_num would be a new feature, yes, but not really
 required just to fix this bug (which is in the DB query).

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


More information about the wp-trac mailing list