Opened 3 years ago
Closed 3 years ago
#12376 closed defect (bug) (worksforme)
WPQuery ORDER ASC fails
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | 2.9.2 |
| Severity: | normal | Keywords: | reporter-feedback |
| 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)
comment:1
sroucheray — 3 years ago
- Summary changed from WPQuery to WPQuery ORDER ASC fails
- Component changed from General to Query
- Milestone changed from 2.9.3 to 3.0
- Owner set to ryan
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.