{"action":"created","issue":{"url":"https://api.github.com/repos/johnbillion/extended-cpts/issues/24","labels_url":"https://api.github.com/repos/johnbillion/extended-cpts/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/johnbillion/extended-cpts/issues/24/comments","events_url":"https://api.github.com/repos/johnbillion/extended-cpts/issues/24/events","html_url":"https://github.com/johnbillion/extended-cpts/issues/24","id":97968537,"number":24,"title":"Search for CPT created using extend-cpts ","user":{"login":"lmartins","id":151981,"avatar_url":"https://avatars.githubusercontent.com/u/151981?v=3","gravatar_id":"","url":"https://api.github.com/users/lmartins","html_url":"https://github.com/lmartins","followers_url":"https://api.github.com/users/lmartins/followers","following_url":"https://api.github.com/users/lmartins/following{/other_user}","gists_url":"https://api.github.com/users/lmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmartins/subscriptions","organizations_url":"https://api.github.com/users/lmartins/orgs","repos_url":"https://api.github.com/users/lmartins/repos","events_url":"https://api.github.com/users/lmartins/events{/privacy}","received_events_url":"https://api.github.com/users/lmartins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/johnbillion/extended-cpts/labels/awaiting-feedback","name":"awaiting-feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-29T15:55:59Z","updated_at":"2015-07-29T17:51:04Z","closed_at":null,"body":"Im seeing a problem in my Dashboard, where a CPT created using this library never returns any results in the posts list, no matter whatever I search for in the search input.\r\n\r\nThe post type i've created is called \"Docs\" and can be seen in this screenshot (sorry, the contents on the list are in Portuguese but I think you get the ideia);\r\n![screenshot 2015-07-29 16 26 08](https://cloud.githubusercontent.com/assets/151981/8961687/867b0226-360e-11e5-84d3-48b0aafe9c8a.png)\r\n\r\nIt was created with the following code:\r\n```php\r\n        register_extended_post_type( 'doc', array(\r\n            'menu_icon' => 'dashicons-welcome-learn-more',\r\n            'taxonomies' => array('post_tag'),\r\n\r\n            # Add some custom columns to the admin screen:\r\n            'admin_cols' => array(\r\n                'topic' => array(\r\n                    'taxonomy' => 'topic'\r\n                )\r\n            ),\r\n\r\n            # Add a dropdown filter to the admin screen:\r\n            'admin_filters' => array(\r\n                'topic' => array(\r\n                    'taxonomy' => 'topic'\r\n                )\r\n            )\r\n        ) );\r\n```\r\n\r\nConsidering the first post in the list, with the title \"Formatação de textos\", if I search for \"textos\" i get no results:\r\n![screenshot 2015-07-29 16 27 51](https://cloud.githubusercontent.com/assets/151981/8961727/c29983f4-360e-11e5-99c8-fbdf439ab6ec.png)\r\n\r\nThis CPT also has a custom taxonomy \"Topics\" which I created using your library https://github.com/johnbillion/extended-taxos \r\n\r\nThis taxonomy can be seen as the second column in the list. I used extended-cpts to add that column and the respective filter above, but if I try to filter de list for the topic \"Escrever e Editar\" which is assigned to several posts, including that first one given as an example, I still get no results:\r\n![screenshot 2015-07-29 16 32 18](https://cloud.githubusercontent.com/assets/151981/8961830/6601eaae-360f-11e5-9818-a3ed9d493b09.png)\r\n\r\nBut if instead of using the select box above the list, I filter for that taxonomy term by pressing one of its occurrences in the list, I do get the expected behaviour:\r\n![screenshot 2015-07-29 16 33 34](https://cloud.githubusercontent.com/assets/151981/8961867/917e7530-360f-11e5-8681-c6cfcfadfa70.png)\r\n\r\nHave you seen this problem before, anything I am missing?\r\nThanks again."},"comment":{"url":"https://api.github.com/repos/johnbillion/extended-cpts/issues/comments/126034645","html_url":"https://github.com/johnbillion/extended-cpts/issues/24#issuecomment-126034645","issue_url":"https://api.github.com/repos/johnbillion/extended-cpts/issues/24","id":126034645,"user":{"login":"lmartins","id":151981,"avatar_url":"https://avatars.githubusercontent.com/u/151981?v=3","gravatar_id":"","url":"https://api.github.com/users/lmartins","html_url":"https://github.com/lmartins","followers_url":"https://api.github.com/users/lmartins/followers","following_url":"https://api.github.com/users/lmartins/following{/other_user}","gists_url":"https://api.github.com/users/lmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmartins/subscriptions","organizations_url":"https://api.github.com/users/lmartins/orgs","repos_url":"https://api.github.com/users/lmartins/repos","events_url":"https://api.github.com/users/lmartins/events{/privacy}","received_events_url":"https://api.github.com/users/lmartins/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T17:51:04Z","updated_at":"2015-07-29T17:51:04Z","body":"Let me run some tests to confirm the scenarios you are suggesting. I'll report back here once I get to any conclusion.\r\n\r\nMany thanks for the library and all the help John, much appreciated."}}