mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
remove limit from websiteevents also
This commit is contained in:
parent
99c9eeeb72
commit
87e364d707
1 changed files with 0 additions and 6 deletions
|
|
@ -24,7 +24,6 @@ async function relationalQuery(websiteId: string, filters: QueryFilters, pagePar
|
||||||
|
|
||||||
return pagedRawQuery(
|
return pagedRawQuery(
|
||||||
`
|
`
|
||||||
with events as (
|
|
||||||
select
|
select
|
||||||
event_id as "id",
|
event_id as "id",
|
||||||
website_id as "websiteId",
|
website_id as "websiteId",
|
||||||
|
|
@ -49,8 +48,6 @@ async function relationalQuery(websiteId: string, filters: QueryFilters, pagePar
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
order by created_at desc
|
order by created_at desc
|
||||||
limit 1000)
|
|
||||||
select * from events
|
|
||||||
`,
|
`,
|
||||||
{ ...params, search: `%${search}%` },
|
{ ...params, search: `%${search}%` },
|
||||||
pageParams,
|
pageParams,
|
||||||
|
|
@ -64,7 +61,6 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
|
||||||
|
|
||||||
return pagedQuery(
|
return pagedQuery(
|
||||||
`
|
`
|
||||||
with events as (
|
|
||||||
select
|
select
|
||||||
event_id as id,
|
event_id as id,
|
||||||
website_id as websiteId,
|
website_id as websiteId,
|
||||||
|
|
@ -89,8 +85,6 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
order by created_at desc
|
order by created_at desc
|
||||||
limit 1000)
|
|
||||||
select * from events
|
|
||||||
`,
|
`,
|
||||||
{ ...params, search },
|
{ ...params, search },
|
||||||
pageParams,
|
pageParams,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue