Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Comparisons: Fix exports issue (#4756)

Karl-Aksel Puulmann62fb285b71c1
diff --git a/assets/js/dashboard/stats/graph/stats-export.js b/assets/js/dashboard/stats/graph/stats-export.js
index 47608e87ad..1b1dd5b3b0 100644
--- a/assets/js/dashboard/stats/graph/stats-export.js
+++ b/assets/js/dashboard/stats/graph/stats-export.js
@@ -34,7 +34,7 @@ export default function StatsExport() {
function renderExportLink() {
const interval = getCurrentInterval(site, query)
- const queryParams = api.serializeQuery(query, [{ interval }])
+ const queryParams = api.serializeQuery(query, [{ interval, comparison: undefined }])
const endpoint = `/${encodeURIComponent(site.domain)}/export${queryParams}`
return (
diff --git a/config/runtime.exs b/config/runtime.exs
index 7d6f5d4ce0..e5e8a49ad0 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -547,7 +547,8 @@ config :plausible, Plausible.ClickhouseRepo,
transport_opts: ch_transport_opts,
settings: [
readonly: 1,
- join_algorithm: "direct,parallel_hash,hash"
+ join_algorithm: "direct,parallel_hash,hash",
+ max_parser_depth: 100_000
]
config :plausible, Plausible.IngestRepo,