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
fix: 移除重复的搜索条件检查并修复搜索查询逻辑
JLUpengjiaji17a00f62a449
diff --git a/src/queries/sql/getValues.ts b/src/queries/sql/getValues.tsindex 8573335bf..cc5f3a489 100644--- a/src/queries/sql/getValues.ts+++ b/src/queries/sql/getValues.ts@@ -83,10 +83,6 @@ async function clickhouseQuery(websiteId: string, column: string, filters: QueryexcludeDomain = `and referrer_domain != hostname and referrer_domain != ''`;}- if (search) {- searchQuery = `and positionCaseInsensitive(${column}, {search:String}) > 0`;- }-if (search) {if (decodeURIComponent(search).includes(',')) {searchQuery = `AND (${decodeURIComponent(search)