Skip to content

Commit 9139230

Browse files
committed
ACP2E-3897: [Mainline] Wrong results in products graphQL query
1 parent 8fdde9d commit 9139230

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogGraphQl/DataProvider/Product/SearchCriteriaBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ private function updateMatchTypeRequestConfig(string $requestName, array $partia
120120
if (in_array($matchItem['field'] ?? null, $partialMatchFilters, true)) {
121121
$data['queries'][$queryName]['match'][$index]['matchCondition'] = 'match_phrase_prefix';
122122
if (array_key_exists($matchItem['field'], $this->partial_search_analyzers)) {
123-
$data['queries'][$queryName]['match'][$index]['analyzer'] = $this->partial_search_analyzers[$matchItem['field']];
123+
$data['queries'][$queryName]['match'][$index]['analyzer']
124+
= $this->partial_search_analyzers[$matchItem['field']];
124125
}
125126
}
126127
}

0 commit comments

Comments
 (0)