[wp-trac] Re: [WordPress Trac] #9819: Allow order_by=none in
query_posts
WordPress Trac
wp-trac at lists.automattic.com
Fri May 15 08:37:30 GMT 2009
#9819: Allow order_by=none in query_posts
-------------------------+--------------------------------------------------
Reporter: joostdevalk | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Query | Version: 2.8
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Changes (by DD32):
* keywords: => has-patch
* version: => 2.8
Comment:
> How about calling it 'orderby=explicit'?
Explicit infers given order, Which brings it to
>Don't suppose using 'order=3,2,5,4,1' makes any sense?
Not really.. Since a lot of the time the id's are not known until its
queried.
> order = false would be sweet. it would optimize the query, too.
False is an option, but empty(false) == true, which means changing the way
its currently acting. Thats my reason for a vote for a string.
(This was also discussed on #wordpress-dev beforehand, And i was
mentioning things to joostdevalk whilst he was writing this patch)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9819#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list