Changes between Initial Version and Version 1 of Ticket #16967
- Timestamp:
- 03/25/2011 05:40:01 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16967
- Property Owner set to scribu
-
Property
Status
changed from
new
toreviewing
-
Ticket #16967 – Description
initial v1 1 1 When adding in cat=-20, it stops sorting 2 2 3 {{{ 3 4 $my_query = new WP_Query('cat=-20&posts_per_page=10&orderby=date&order=DESC'); 5 }}} 4 6 5 7 when I run it like this: 6 8 9 10 {{{ 7 11 $my_query = new WP_Query('posts_per_page=10&orderby=date&order=DESC'); 12 }}} 13 8 14 9 15 it works like I expect it will. 10 16 11 I tested it in the array format as well, and adding category__not_inremoves the sorting I add to it17 I tested it in the array format as well, and adding {{{category__not_in}}} removes the sorting I add to it