[wp-trac] Re: [WordPress Trac] #2709: Category query cleanups

WordPress Trac wp-trac at lists.automattic.com
Sat May 6 23:05:00 GMT 2006


#2709: Category query cleanups
----------------------------+-----------------------------------------------
       Id:  2709            |      Status:  new                     
Component:  Administration  |    Modified:  Sat May  6 23:05:00 2006
 Severity:  major           |   Milestone:  2.1                     
 Priority:  high            |     Version:  2.0.2                   
    Owner:  skeltoac        |    Reporter:  skeltoac                
----------------------------+-----------------------------------------------
Comment (by skeltoac):

 Patch attached. I also changed the field list to
 {{{
 apply_filters('posts_fields', "$wpdb->posts.*");
 }}}
 which returns fewer columns (none from JOINed tables) and makes DISTINCT
 work. If anybody knows of a need for JOINed columns, speak now.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2709>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list