Want to show kb articles that are of user language in contextual search, if the article is not present then show english article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 03:06 AM
Hi Team Community,
I have a requirement where I want to show kb articles to users of their language in contextual search results. I created a filter configuration which filters articles of user's language but it does not show the english article when the user language article is not present.
Filter Configuration:
query_table.addQuery('language', gs.getSession().getLanguage();
So now this code gives results only of user language. I want to have the code where it shows user language article if present and English article if the user language is not present.
Thanks!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 03:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 03:26 AM
Hi
This is on the contextual search results so I believe this is to make change on the filter configuration. Would be helpful if that can be suggested.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 05:05 AM
did you got anything for this? @Patiha