[wp-trac] [WordPress Trac] #17065: Independent ASC/DESC in multiple ORDER BY statement.

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 02:16:51 UTC 2012


#17065: Independent ASC/DESC in multiple ORDER BY statement.
-------------------------------------------------+-------------------------
 Reporter:  ericmann                             |       Owner:  ericmann
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Query                                |  Review
 Severity:  normal                               |     Version:  3.1
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by scribu):

 That was just one example. Here's another:

 {{{
 INNER JOIN wp_posts AS p_to_orderby
 }}}

 vs.

 {{{
 INNER JOIN wp_posts AS posts_orderby
 }}}

 The alias is arbitrary and doesn't affect the results, but it will make
 the test fail.

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


More information about the wp-trac mailing list