[wp-trac] [WordPress Trac] #9635: Comments Query Needs Filters
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 24 13:49:25 GMT 2009
#9635: Comments Query Needs Filters
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Comments | Version: 2.8
Severity: normal | Keywords: comments-query has-patch
--------------------------+-------------------------------------------------
''Problem:''
The comments query lacks order by and limit filters for its query, and it
has a group by filter for only one of the two queries.
''Example:''
So, for example, if you wanted to select comments at random or some other
means, you can't.
''Solution:''
Patch gives both comments queries the same 5 filters: join, where,
groupby, orderby, limits.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9635>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list