Opened 16 years ago
Closed 16 years ago
#12376 closed defect (bug) (worksforme)
WPQuery ORDER ASC fails
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.9.2 |
| Component: | Query | Keywords: | reporter-feedback |
| Focuses: | Cc: |
Description
This code returns all my pages (tried with a number of 5 and 6 pages) :
$my_query = new WP_Query( array('order' => 'DESC', 'post_type' => 'page', 'orderby'=>'menu_order') );
while this one returns only the fourth firsts (the only change is the order) :
$my_query = new WP_Query( array('order' => 'ASC', 'post_type' => 'page', 'orderby'=>'menu_order') );
Change History (4)
Note: See
TracTickets for help on using
tickets.
are you running any plugins?
Can you post $my_Query->request ? (The SQL its using)
I am not seeing your reported issue, both return my 5 pages.