Search for node content in current language

Created on 3 April 2019, over 5 years ago
Updated 3 July 2024, 5 months ago

Problem/Motivation

When searching for content in a multilingual website, Drupal core display results in all languages.

This maybe considered a blocking issue to resolve #3041039: Search for content in current language or a duplicate of that one.

Proposed resolution

When no language is chosen in advance-search, display results only in current language.

Remaining tasks

Create a patch.

Feature request
Status

Needs work

Version

11.0 🔥

Component
Search 

Last updated 1 day ago

Created by

🇺🇸United States shaal Boca Raton, FL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India sonam.chaturvedi Pune

    Verified and tested patch #24 on 10.1.x-dev. Patch applied successfully.

    Test Results:
    1. When no language is chosen in advance-search and normal search, display results only in current language.
    2. Issue #5 point 2 (5.2) is reproducible after applying patch

    in the normal Search box you will get two keywords 'chocolate chocolate' which gets increase if you put the same in the advance search.

    Basically, keyword searched in Advanced-search "Containing any of the words" field is cleared from advance search box and appended to normal search box. And this results in increase of same keywords - "test test".

    Moving to Needs Work

  • 🇬🇧United Kingdom jonnyhocks

    Re-rolled #24 Search for node content in current language Needs work for latest 10.3.x

Production build 0.71.5 2024