[wp-trac] [WordPress Trac] #15031: order via meta_query
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 6 18:07:05 UTC 2011
#15031: order via meta_query
--------------------------------------+-----------------------------
Reporter: aaroncampbell | Owner: scribu
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.1
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+-----------------------------
Comment (by scribu):
I guess that in the end, allowing an array of values to 'orderby' makes
more sense than an 'order' parameter in 'meta_query':
MySQL allows you to order items by a value, even if it's null.
The fact that we required meta_key to be set, in order to set 'orderby' =>
'meta_value' is just a limitation on our system.
So, I'm thinking of closing this as wontfix and focus on #17065.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15031#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list