Skip to content

Commit 039480a

Browse files
committed
Fix bug when filtering for goal and session prop
1 parent 65befd7 commit 039480a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plausible/stats/clickhouse.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ defmodule Plausible.Stats.Clickhouse do
697697
none =
698698
ClickhouseRepo.all(
699699
from e in base_query_w_sessions(site, query),
700-
where: fragment("not has(meta.key, ?)", ^key),
700+
where: fragment("not has(?.key, ?)", e.meta, ^key),
701701
select: %{
702702
name: "(none)",
703703
count: fragment("uniq(?) as count", e.user_id),

0 commit comments

Comments
 (0)