sorting meta on posts
This is just a sanity check so I know that I’m not making something that is completely overkill.
If I’ve added meta on my posts, and want to get posts “order by” [meta_key], that’s pretty much not possible via BB_Query right?
My solution now, albeit not beautiful but acceptable to me since I’m the only user of it, is to add a column to bb_posts table and then send in the ORDER BY to BB_Query on that column. That works fine.
So the generic question in here is: can I or can’t I sort a fetch on meta key instead of columns in the post table?
using trunk of bbpress, fetched yesterday
- You must be logged in to reply to this topic.