diff --git a/frontend/src/queries/nodes/DataTable/DataTableExport.tsx b/frontend/src/queries/nodes/DataTable/DataTableExport.tsx index 80fd74804cd9a..c5ebe8af53335 100644 --- a/frontend/src/queries/nodes/DataTable/DataTableExport.tsx +++ b/frontend/src/queries/nodes/DataTable/DataTableExport.tsx @@ -54,7 +54,9 @@ export async function startDownload( ) } if (exportContext['columns'].includes('person')) { - exportContext['columns'] = exportContext['columns'].map((c: string) => (c === 'person' ? 'person.id' : c)) + exportContext['columns'] = exportContext['columns'].map((c: string) => + c === 'person' ? 'person.distinct_ids.0' : c + ) } exportContext['columns'] = exportContext['columns'].filter((n: string) => !columnDisallowList.includes(n)) }