I added 3 custom types in my theme. I then wanted to attach media to some posts.
It does work when adding them from the post creation form but the search dialog box in the Media section does not work properly anymore.
When the search box has results, nothing is displayed and if nothing is found it displays the usual "No posts found." message.
If some code would help understanding the problem, please let me know !