in short :
I notices that when "Types" is activated, then admin filter for every post types don't work anymore. Filtering "Post" by date or category is broken.
- activate Types
- filter "Post" by date or category
Then no post are displayed, as if there was no results, furthermore, select filter ( date and category) are not displayed !
I took a look at the main request in both case ( Types activated and desactivated).
When not actived, i can find these requests :
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND YEAR(wp_posts.post_date)=2013 AND MONTH(wp_posts.post_date)=12 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'future' OR wp_posts.post_status = 'draft' OR wp_posts.post_status = 'pending' OR wp_posts.post_status = 'private') ORDER BY wp_posts.post_date DESC LIMIT 0, 20
SELECT wp_posts.* FROM wp_posts WHERE ID IN (107)
But when "Types" is activated, i only find this :
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND YEAR(wp_posts.post_date)=2013 AND MONTH(wp_posts.post_date)=12 AND wp_posts.post_name = '1' AND wp_posts.post_type = 'post' ORDER BY wp_posts.post_date DESC
with this curious :
wp_posts.post_name = '1'
OS: Debian 7
mysql Ver 15.1 Distrib 10.0.7-MariaDB
thanks for help