limit 5 top foods
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-04-25 15:23:49 +03:30
parent 5b1490bc9c
commit 58102b7fef
@@ -568,6 +568,7 @@ export class OrdersService {
AND o.status NOT IN ('pendingPayment', 'canceled') AND o.status NOT IN ('pendingPayment', 'canceled')
GROUP BY f.id, f.title GROUP BY f.id, f.title
ORDER BY total_revenue DESC ORDER BY total_revenue DESC
LIMIT 5
`, `,
[restId, startDate, endDate], [restId, startDate, endDate],
); );