Might be a misunderstanding of what the Custom Search i18n submodule does, but when searching, is there a way to show only results based on the current language of the user? In the Custom Search menu, under languages, I have it set to "Search Content from - Current Language". For each node there is both an English and translated German version. However when performing a search, I see both English and German results.

I did notice that when setting the content types to present for example, those settings have to be made by configuring that particular search block (structure/block/manage/custom_search_blocks/1) , verus the general (config/search/custom_search). But don't see the language tab on the block settings.

Comments

raymichael’s picture

Status: Active » Closed (works as designed)
raymichael’s picture

Issue summary: View changes

Added additional info.

stilllife00’s picture

How did you get to see only result in the relevant language?

gabyyy’s picture

Version: 7.x-1.11 » 7.x-1.12
Status: Closed (works as designed) » Active

Hi,

I got the same problem. I set up the settings of the module to search content from current language only.
When I search using drupal core search box, the results are in the current language (lang: en added). However, when I search using a custom search block, the language filter is not applied. Also, there is no language option in the settings of the custom search block.

Regards

jdanthinne’s picture

Version: 7.x-1.12 » 7.x-1.x-dev
Status: Active » Fixed

Ok, fixed in my latest commit : http://drupalcode.org/project/custom_search.git/commit/f24631c
A bug prevented the language selection to be global (was only acting for default search block, but now for each custom block as well).
Please test next DEV version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.