Skip to content

Commit

Permalink
Change id to code in adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Feb 5, 2024
1 parent 03c38ec commit 1cf5a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Search/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function search(
): Result {
$data = [
'requestType' => '' !== $search ? 'product_search' : 'product_catalog',
'localizedCatalog' => $channel->getId() . '_' . $locale,
'localizedCatalog' => $channel->getCode() . '_' . $locale,
'currentCategoryId' => str_replace('/', '_', (string) $taxon->getCode()),
'search' => $search,
'currentPage' => $page,
Expand Down

0 comments on commit 1cf5a20

Please sign in to comment.