I’m using plugin Ajax Search Pro with WPML.
When searching in custom post types results are correct: shows results only in current language.
But when searching in taxonomies, gets results of all languages.
I would expect to get results only in current language.
In order to reproduce the error:
go to http://woktowalk.com/new2015/
scroll down up to “Restaurant locator”
search “barcelona”
You will see lots of “barcelona” taxonomy results. Should show only one.
I’ve checked the code and it looks like I forgot to include this feature from the term results, that’s why it’s not working.
The only way around this is to make modifications to one of the files.
You will have to open up the following file on your server: wp-content/plugins/ajax-search-pro/includes/search/search_terms.class.php and replace it’s contents with this: http://pastebin.com/raw.php?i=Zq8AWuui