Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Revert change in custommer list, because staff can be also a customer.

michaled986bf56578
diff --git a/saleor/dashboard/customer/views.py b/saleor/dashboard/customer/views.py
index eb0039e2ac..f8212256b3 100644
--- a/saleor/dashboard/customer/views.py
+++ b/saleor/dashboard/customer/views.py
@@ -18,7 +18,6 @@ def customer_list(request):
.annotate(
num_orders=Count('orders', distinct=True),
last_order=Max('orders', distinct=True))
- .filter(is_staff=False)
)
customers = get_paginator_items(customers, 30, request.GET.get('page'))
ctx = {'customers': customers}