Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Don't return index_paginate_by
Anna Siwik218ef72f99d9
diff --git a/saleor/dashboard/views.py b/saleor/dashboard/views.pyindex 5e071e06ab..94a9f10d94 100644--- a/saleor/dashboard/views.py+++ b/saleor/dashboard/views.py@@ -45,8 +45,7 @@ def index(request):low_stock = get_low_stock_products()ctx = {'preauthorized_payments': payments[:INDEX_PAGINATE_BY],'orders_to_ship': orders_to_ship[:INDEX_PAGINATE_BY],- 'low_stock': low_stock[:INDEX_PAGINATE_BY],- 'index_paginate_by': INDEX_PAGINATE_BY}+ 'low_stock': low_stock[:INDEX_PAGINATE_BY]}return TemplateResponse(request, 'dashboard/index.html', ctx)