Bug in admin search for custom post types
I’ve setup Relevanssi to index my custom post types and custom fields. In the backend when viewing the post type manage screen, if I don’t change the default value for the date filter (so it reads “Show All Dates”), when I press the Filter button, no results are shown. From this screen showing no results, if I press the filter button again, then the results are shown.
This only happens when Relevanssi is turned on. If I turn it off, then the Filter button works as expected. If I don’t change the default value and I press the Filter button, all posts are shown.
I’ve isolated the problem a bit. After the Filter button is pressed when nothing appears on the screen, the url is:
The part of the URL which causes the problem is the “?s”. There is no value associated with the key “s”. With Relevanssi turned on, this returns an empty set. As soon as I turn it off, this same URL works as expected. Also, with Relevanssi on, if I remove that part of the url:
that also works as expected (showing all posts).
Thanks for the great plugin!
- The topic ‘Bug in admin search for custom post types’ is closed to new replies.