[wp-trac] [WordPress Trac] #31045: Ordering a Query Using Multiple Meta Keys
WordPress Trac
noreply at wordpress.org
Mon Jan 26 16:51:13 UTC 2015
#31045: Ordering a Query Using Multiple Meta Keys
------------------------------------------+-----------------------------
Reporter: Funkatronic | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------------
Comment (by Funkatronic):
So, `'orderby' => 'alias'`?
Also, a `WP_Meta_Query` object stores its aliases in an
array(`WP_Meta_Query->table_aliases`), so we can use that to keep track of
aliases. Still studying the logic so I can code something that doesn't
break anything.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31045#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list