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:
+1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user