fix: 移除重复的搜索条件检查并修复搜索查询逻辑
This commit is contained in:
@@ -83,10 +83,6 @@ async function clickhouseQuery(websiteId: string, column: string, filters: Query
|
||||
excludeDomain = `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)
|
||||
|
||||
Reference in New Issue
Block a user