Working on Sitecore commerce 9 update 1.
Search-box is listing multilingual suggestions when typing.
I have an item with content in English and Chines version. I have 2 issues to highlight,
- When only English version is published, search result/suggestion will list english version content. But when English and Chines vesion is published, search result will only have Chinese version.
- On further investigation I found that, when the AJAX call is made for search suggestion, context language is not set in query string.
And also, when AJAX call is made from search result page context language is set ( because this page have a rendering where we can set the language filter).
Anyone worked on sitecore 9 SXA search component and came across this ?
Is there any way we can easily setup language filter in search component without customizing the OOTB module ?