|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
import { Readable } from 'stream'; |
|
|
|
|
import { UITypes, ViewTypes } from 'nocodb-sdk'; |
|
|
|
|
import { isLinksOrLTAR, UITypes, ViewTypes } from 'nocodb-sdk' |
|
|
|
|
import { unparse } from 'papaparse'; |
|
|
|
|
import { Injectable, Logger } from '@nestjs/common'; |
|
|
|
|
import NcConnectionMgrv2 from '../../../../utils/common/NcConnectionMgrv2'; |
|
|
|
@ -352,13 +352,13 @@ export class ExportService {
|
|
|
|
|
.map((c) => c.title) |
|
|
|
|
.join(',') |
|
|
|
|
: model.columns |
|
|
|
|
.filter((c) => c.uidt !== UITypes.LinkToAnotherRecord) |
|
|
|
|
.filter((c) => !isLinksOrLTAR(c)) |
|
|
|
|
.map((c) => c.title) |
|
|
|
|
.join(','); |
|
|
|
|
|
|
|
|
|
const mmColumns = model.columns.filter( |
|
|
|
|
(col) => |
|
|
|
|
col.uidt === UITypes.LinkToAnotherRecord && |
|
|
|
|
isLinksOrLTAR(col) && |
|
|
|
|
col.colOptions?.type === 'mm', |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|