Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Auto stash before merge of "dev" and "origin/dev"
Brian Cao49ad536f246f
diff --git a/src/lib/prisma.ts b/src/lib/prisma.tsindex f75ea1fea..442ee2022 100644--- a/src/lib/prisma.ts+++ b/src/lib/prisma.ts@@ -185,7 +185,7 @@ function getPageFilters(filters: SearchFilter): [orderBy: string;},] {- const { page = 1, pageSize = DEFAULT_PAGE_SIZE, orderBy } = filters || {};+ const { page = 1, pageSize = DEFAULT_PAGE_SIZE, orderBy, sortDescending = false } = filters || {};return [{@@ -193,7 +193,7 @@ function getPageFilters(filters: SearchFilter): [...(orderBy && {orderBy: [{- [orderBy]: 'asc',+ [orderBy]: sortDescending ? 'desc' : 'asc',},],}),