diff --git a/CHANGELOG.md b/CHANGELOG.md index c06eaac0..c72dbca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - `productSearch` query ignores the `allowRedirect` property. +- `productSuggestions` doesn't return any result when there is a redirect set. ## [1.61.3] - 2022-02-03 diff --git a/node/resolvers/search/index.ts b/node/resolvers/search/index.ts index 3462fbb7..48af6324 100644 --- a/node/resolvers/search/index.ts +++ b/node/resolvers/search/index.ts @@ -641,6 +641,7 @@ export const queries = { from: 0, to: 4, sort: convertOrderBy(args.orderBy), + allowRedirect: false, // When there is a redirect, no product is returned. ...workspaceSearchParams, }