diff --git a/packages/backend-core/src/events/processors/posthog/PosthogProcessor.ts b/packages/backend-core/src/events/processors/posthog/PosthogProcessor.ts index e8e8f35d6d..6c45da09e6 100644 --- a/packages/backend-core/src/events/processors/posthog/PosthogProcessor.ts +++ b/packages/backend-core/src/events/processors/posthog/PosthogProcessor.ts @@ -14,7 +14,6 @@ const EXCLUDED_EVENTS: Event[] = [ Event.DATASOURCE_UPDATED, Event.QUERY_UPDATED, Event.VIEW_UPDATED, - Event.VIEW_FILTER_UPDATED, Event.VIEW_CALCULATION_UPDATED, Event.AUTOMATION_TRIGGER_UPDATED, Event.USER_GROUP_UPDATED, diff --git a/packages/server/src/api/controllers/view/viewsV2.ts b/packages/server/src/api/controllers/view/viewsV2.ts index 4c65d673e8..da579efed7 100644 --- a/packages/server/src/api/controllers/view/viewsV2.ts +++ b/packages/server/src/api/controllers/view/viewsV2.ts @@ -169,7 +169,7 @@ async function handleViewFilterEvents(existingView: ViewV2, view: ViewV2) { const properties = { filterGroups, tableId: view.tableId } if ( filterGroups >= 2 && - ((existingView && existingView?.queryUI?.groups?.length) || 0) + filterGroups > (existingView?.queryUI?.groups?.length || 0) ) { await events.view.filterUpdated(properties) }