Browse Source

Merge pull request #7597 from nocodb/nc-fix/at-filter

fix: move filter logic inside condition
pull/7603/head
Raju Udava 10 months ago committed by GitHub
parent
commit
06872aa739
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

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

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

Loading…
Cancel
Save