[wp-trac] [WordPress Trac] #31045: Ordering a Query Using Multiple Meta Keys

WordPress Trac noreply at wordpress.org
Thu Feb 5 19:37:49 UTC 2015


#31045: Ordering a Query Using Multiple Meta Keys
-----------------------------------+---------------------------
 Reporter:  Funkatronic            |       Owner:  boonebgorges
     Type:  feature request        |      Status:  closed
 Priority:  normal                 |   Milestone:  4.2
Component:  Query                  |     Version:  trunk
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31340"]:
 {{{
 #!CommitTicketReference repository="" revision="31340"
 Modify `meta_query orderby syntax to use array keys as clause "handles".

 The implementation of `meta_query` orderby introduced in [31312] put
 clause
 identifiers into a 'name' parameter of the clause. For greater clarity,
 this
 changeset updates the syntax to use the associative array key used when
 defining `meta_query` parameters, instead of the 'name' parameter.

 Props Funkatronic, DrewAPicture.
 Fixes #31045.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31045#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list