Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make filters work
dominik-zeglen48f4ea57282e
diff --git a/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsx b/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsxindex 195ff9b943..09273ce93f 100644--- a/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsx+++ b/saleor/static/dashboard-next/products/views/ProductList/ProductList.tsx@@ -32,7 +32,7 @@ import {ProductListUrlQueryParams,productUrl} from "../../urls";-import { getActiveFilters, createFilter } from "./filters";+import { getActiveFilters, createFilter, getFilterVariables } from "./filters";interface ProductListProps {params: ProductListUrlQueryParams;@@ -92,8 +92,7 @@ export const ProductList: React.StatelessComponent<ProductListProps> = ({displayLoadervariables={{...paginationState,- query: params.query,- stockAvailability: params.status+ filter: getFilterVariables(params)}}>{({ data, loading, refetch }) => {