Skip to content

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

Use all-time values to order stats

dominik-zeglenfb042657ab25
diff --git a/saleor/static/dashboard-next/home/queries.ts b/saleor/static/dashboard-next/home/queries.ts
index 870211a952..946c943785 100644
--- a/saleor/static/dashboard-next/home/queries.ts
+++ b/saleor/static/dashboard-next/home/queries.ts
@@ -14,10 +14,10 @@ const home = gql`
ordersToday: orders(created: TODAY) {
totalCount
}
- ordersToFulfill: orders(status: READY_TO_FULFILL, created: TODAY) {
+ ordersToFulfill: orders(status: READY_TO_FULFILL) {
totalCount
}
- ordersToCapture: orders(status: READY_TO_CAPTURE, created: TODAY) {
+ ordersToCapture: orders(status: READY_TO_CAPTURE) {
totalCount
}
productsOutOfStock: products(stockAvailability: OUT_OF_STOCK) {