Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Let qs decode query params
dominik-zeglen1b6a66cc9abf
diff --git a/saleor/static/dashboard-next/orders/index.tsx b/saleor/static/dashboard-next/orders/index.tsxindex 9a74d25c47..24227de031 100644--- a/saleor/static/dashboard-next/orders/index.tsx+++ b/saleor/static/dashboard-next/orders/index.tsx@@ -13,8 +13,8 @@ const OrderList: React.StatelessComponent<RouteComponentProps<any>> = ({}) => {const qs = parseQs(location.search.substr(1));const params = {- after: decodeURIComponent(qs.after),- before: decodeURIComponent(qs.before)+ after: qs.after,+ before: qs.before};return <OrderListComponent params={params} />;};diff --git a/saleor/static/dashboard-next/products/index.tsx b/saleor/static/dashboard-next/products/index.tsxindex 6ad6643a51..125353cec8 100644--- a/saleor/static/dashboard-next/products/index.tsx+++ b/saleor/static/dashboard-next/products/index.tsx@@ -14,8 +14,8 @@ const ProductList: React.StatelessComponent<RouteComponentProps<any>> = ({}) => {const qs = parseQs(location.search.substr(1));const params = {- after: decodeURIComponent(qs.after),- before: decodeURIComponent(qs.before)+ after: qs.after,+ before: qs.before};return <ProductListComponent params={params} />;};diff --git a/saleor/static/dashboard-next/staff/index.tsx b/saleor/static/dashboard-next/staff/index.tsxindex e812c8e223..1802086928 100644--- a/saleor/static/dashboard-next/staff/index.tsx+++ b/saleor/static/dashboard-next/staff/index.tsx@@ -10,8 +10,8 @@ const StaffList: React.StatelessComponent<RouteComponentProps<{}>> = ({}) => {const qs = parseQs(location.search.substr(1));const params = {- after: decodeURIComponent(qs.after),- before: decodeURIComponent(qs.before)+ after: qs.after,+ before: qs.before};return <StaffListComponent params={params} />;};