[wp-trac] [WordPress Trac] #16812: Taxonomy queries without joins ignore order by

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 10 01:20:12 UTC 2011


#16812: Taxonomy queries without joins ignore order by
-----------------------------------------+------------------------------
 Reporter:  Chad Killingsworth           |       Owner:  scribu
     Type:  defect (bug)                 |      Status:  reviewing
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Query                        |     Version:  3.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------
Changes (by scribu):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 $groupby doesn't affect $orderby in any way, so this is really strange.

 Please add the following lines of code somewhere after The Loop and paste
 here what you get when you go to ?cat=-1

 {{{
 echo '<pre>';
 print_r($wp_query->query_vars);
 print_r($wp_query->request);
 }}}

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


More information about the wp-trac mailing list