Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fix legacy compatibility redirect (#4424)
Artur Pataf9ea5444b078
diff --git a/assets/js/dashboard/query.js b/assets/js/dashboard/query.jsindex 354aeac4d9..23b9ecb34e 100644--- a/assets/js/dashboard/query.js+++ b/assets/js/dashboard/query.js@@ -107,7 +107,6 @@ export function filtersBackwardsCompatibilityRedirect(windowLocation, windowHistif (LEGACY_URL_PARAMETERS.hasOwnProperty(key)) {const filter = parseLegacyFilter(key, value)filters.push(filter)-const labelsKey = LEGACY_URL_PARAMETERS[key]if (labelsKey && getValue(labelsKey)) {const clauses = filter[2]@@ -126,7 +125,7 @@ export function filtersBackwardsCompatibilityRedirect(windowLocation, windowHist}if (filters.length > 0) {- changedSearchRecordEntries.push([['filters', filters], ['labels', labels]])+ changedSearchRecordEntries.push(['filters', filters], ['labels', labels])windowHistory.pushState({}, null, `${windowLocation.pathname}${stringifySearch(Object.fromEntries(changedSearchRecordEntries))}`)}}