Skip to content

Commit

Permalink
fix: less specific events list (#26573)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Dec 2, 2024
1 parent 3a094f3 commit 6dfacb0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { actions, connect, kea, listeners, path, reducers } from 'kea'
import { loaders } from 'kea-loaders'
import api from 'lib/api'
import { dayjs } from 'lib/dayjs'
import { CORE_FILTER_DEFINITIONS_BY_GROUP } from 'lib/taxonomy'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'

import { HogQLQuery, NodeKind } from '~/queries/schema'
Expand Down Expand Up @@ -40,7 +41,7 @@ export const sessionRecordingsListPropertiesLogic = kea<sessionRecordingsListPro
kind: NodeKind.HogQLQuery,
query: hogql`SELECT properties.$session_id as session_id, any(properties) as properties
FROM events
WHERE event IN ['$pageview', '$autocapture']
WHERE event IN ${Object.keys(CORE_FILTER_DEFINITIONS_BY_GROUP['events'])}
AND session_id IN ${sessionIds}
-- the timestamp range here is only to avoid querying too much of the events table
-- we don't really care about the absolute value,
Expand Down

0 comments on commit 6dfacb0

Please sign in to comment.