diff --git a/framework/bigcommerce/products/use-search.tsx b/framework/bigcommerce/products/use-search.tsx index ade0bbca2..2b4ee7593 100644 --- a/framework/bigcommerce/products/use-search.tsx +++ b/framework/bigcommerce/products/use-search.tsx @@ -26,8 +26,7 @@ export const fetcher: HookFetcher = ( if (search) url.searchParams.set('search', search) if (Number.isInteger(categoryId)) url.searchParams.set('category', String(categoryId)) - if (Number.isInteger(categoryId)) - url.searchParams.set('brand', String(brandId)) + if (Number.isInteger(brandId)) url.searchParams.set('brand', String(brandId)) if (sort) url.searchParams.set('sort', sort) return fetch({