Fix view advanced filters broken (#14387)

## Context

We recently migrated from workspaceSchema.views to core.views. While
doing it we've migrated views using 1-5-migrate-views-to-core command
but we forgot to migrate the subFieldName

Closes: https://github.com/twentyhq/twenty/issues/14369
This commit is contained in:
Charles Bochet
2025-09-10 13:59:34 +02:00
committed by GitHub
parent 2044be28ec
commit 9a05daa624
@@ -562,6 +562,7 @@ export class MigrateViewsToCoreCommand extends ActiveOrSuspendedWorkspacesMigrat
createdAt: new Date(filter.createdAt),
updatedAt: new Date(filter.updatedAt),
deletedAt: filter.deletedAt ? new Date(filter.deletedAt) : null,
subFieldName: filter.subFieldName,
};
const repository = queryRunner.manager.getRepository(ViewFilterEntity);