Browse Source

fix: move filter logic inside condition

pull/7597/head
mertmit 9 months ago
parent
commit
1869f3ed41
  1. 4
      packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

4
packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

@ -2077,12 +2077,12 @@ export class AtImportProcessor {
filter.operator = 'isNoneOf';
}
// if array, break it down to multiple filters
if (Array.isArray(filter.value)) {
for (let j = 0; j < filter.value.length; j++) {
filter.value[j] = await sMap.getNcNameFromAtId(filter.value[j]);
}
// if array, break it down to multiple filters
if (Array.isArray(filter.value)) {
const fx = {
fk_column_id: columnId,
logical_op: f.conjunction,

Loading…
Cancel
Save