diff --git a/src/Plugin/views/query/SearchApiQuery.php b/src/Plugin/views/query/SearchApiQuery.php index 4831fb6..bbf3d2c 100644 --- a/src/Plugin/views/query/SearchApiQuery.php +++ b/src/Plugin/views/query/SearchApiQuery.php @@ -569,9 +569,6 @@ protected function addResults(array $results, ViewExecutable $view) { $values['search_api_language'] = $result->getLanguage(); $values['search_api_relevance'] = $result->getScore(); $values['search_api_excerpt'] = $result->getExcerpt() ?: ''; - // @todo Temporary hack until language is a first-class property of our - // items, like the others above. See #2641392. - list(, $values['search_api_language']) = Utility::splitPropertyPath($item_id, TRUE); // Gather any properties from the search results. foreach ($result->getFields(FALSE) as $field_id => $field) {