From d3506b8ab22f49069704926b33b38595f655079d Mon Sep 17 00:00:00 2001 From: Aliaaaam <88658555+Aliaaaam@users.noreply.github.com> Date: Thu, 13 Jan 2022 16:27:02 +0330 Subject: [PATCH] Fix useFacet(...) customQuery implemention --- packages/composables/src/composables/useFacet/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/composables/src/composables/useFacet/index.ts b/packages/composables/src/composables/useFacet/index.ts index 0d074b200..f42468cc0 100644 --- a/packages/composables/src/composables/useFacet/index.ts +++ b/packages/composables/src/composables/useFacet/index.ts @@ -94,7 +94,7 @@ const factoryParams = { currentPage: productParams.page, }; - const { data } = await context.$magento.api.products(productSearchParams); + const { data } = await context.$magento.api.products(productSearchParams, params?.input.customQuery || {}); Logger.debug('[Result]:', { data });