[wp-trac] [WordPress Trac] #10329: sort_by and count_limit options for wp_list_authors

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 20:23:54 UTC 2010


#10329: sort_by and count_limit options for wp_list_authors
-----------------------------+----------------------------------------------
 Reporter:  takaitra         |       Owner:  westi      
     Type:  feature request  |      Status:  reviewing  
 Priority:  normal           |   Milestone:  3.1        
Component:  Template         |     Version:             
 Severity:  normal           |    Keywords:  needs-patch
-----------------------------+----------------------------------------------

Comment(by takaitra):

 Removing the NULL check on the post_type causes authors with zero posts to
 be incorrectly excluded. I realize there is no NULL post_type but the
 check is necessary due to the joins.

 How do you suggest the GROUP BY be removed while retaining the
 "optioncount" and "number" argument functionality?

 I read through miqrogroove's patch in #11914. I see how User objects could
 be queried for first and last name. If displaying full name, we would then
 need to sort in PHP as opposed to in SQL.

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


More information about the wp-trac mailing list