Fix empty results when language is set in query

Created on 20 February 2023, about 2 years ago
Updated 12 March 2024, about 1 year ago

Problem/Motivation

After a migration from drupal/elasticsearch_connector:7.0.0-alpha4 to drupal/elasticsearch_connector:dev-8.0.x, I had 2 troubles :
- a warning soldev by #3263123
- empty results
$items is empty in SearchApiPageController:page() line 107

Steps to reproduce

Proposed resolution

It seems that search_api_language as been replaced by _language in the EK index.
I don't know if this was intentionally planned, but this patch fixes the problem.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

8.0

Component

Code

Created by

🇫🇷France pguillard

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

Comments & Activities

Production build 0.71.5 2024