diff --git a/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts b/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts index 9aeddc5e62..2e7fcba3ca 100644 --- a/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts +++ b/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts @@ -53,7 +53,8 @@ export class DuplicateProcessor { const user = (req as any).user; const models = (await base.getModels()).filter( - (m) => !m.mm && m.type === 'table', + // TODO revert this when issue with cache is fixed + (m) => m.base_id === base.id && !m.mm && m.type === 'table', ); const exportedModels = await this.exportService.serializeModels({ diff --git a/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts b/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts index 23b3dd2fde..79c9e2de47 100644 --- a/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts +++ b/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts @@ -535,7 +535,8 @@ export class ExportService { const project = await Project.get(base.project_id); const models = (await base.getModels()).filter( - (m) => !m.mm && m.type === 'table', + // TODO revert this when issue with cache is fixed + (m) => m.base_id === base.id && !m.mm && m.type === 'table', ); const exportedModels = await this.serializeModels({