[wp-trac] [WordPress Trac] #13729: Post Query should be able to order by specific order passed in "post__in"
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 5 22:04:05 UTC 2012
#13729: Post Query should be able to order by specific order passed in "post__in"
-----------------------------------+-----------------------------
Reporter: jakemgold | Owner: jakemgold
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.0
Severity: minor | Resolution:
Keywords: 2nd-opinion has-patch |
-----------------------------------+-----------------------------
Comment (by scribu):
Replying to [comment:15 nacin]:
> I wonder what the performance and caching ramifications are for doing
this in SQL, rather than just ordering $query->posts when done.
If there are more items in {{{'post__in'}}} than the limit set by
'posts_per_page', you'll get different results.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13729#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list