Skip to content

armgit / umami

Public Imported from GitHub
0

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.

remove limit from websiteevents also

Francis Cao87e364d707de
diff --git a/src/queries/sql/events/getWebsiteEvents.ts b/src/queries/sql/events/getWebsiteEvents.ts
index d47b0665e..9ec24a8a2 100644
--- a/src/queries/sql/events/getWebsiteEvents.ts
+++ b/src/queries/sql/events/getWebsiteEvents.ts
@@ -24,7 +24,6 @@ async function relationalQuery(websiteId: string, filters: QueryFilters, pagePar
return pagedRawQuery(
`
- with events as (
select
event_id as "id",
website_id as "websiteId",
@@ -49,8 +48,6 @@ async function relationalQuery(websiteId: string, filters: QueryFilters, pagePar
: ''
}
order by created_at desc
- limit 1000)
- select * from events
`,
{ ...params, search: `%${search}%` },
pageParams,
@@ -64,7 +61,6 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
return pagedQuery(
`
- with events as (
select
event_id as id,
website_id as websiteId,
@@ -89,8 +85,6 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
: ''
}
order by created_at desc
- limit 1000)
- select * from events
`,
{ ...params, search },
pageParams,