[wp-trac] [WordPress Trac] #10329: sort_by and count_limit options for wp_list_authors
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 1 18:04:01 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: Future Release
Component: Template | Version:
Severity: normal | Keywords: needs-patch
-----------------------------+----------------------------------------------
Comment(by Denis-de-Bernardy):
btw, re the count() statement... another screaming option is a min_count.
to achieve that using sql, add a having clause:
having author_count >= $min_count
Re: nacin -- "it appears to generate an unnecessarily complex query" that
hasn't been benchmarked
if the keys mentioned in #11213 get checked in, it'll be a *much* faster
query than the zillions of "simpler" queries that we're doing to achieve
the same result.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10329#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list