Browse Source

fix: switch function based on operator

pull/7299/head
Pranav C 9 months ago
parent
commit
576edd0af4
  1. 2
      packages/nocodb/src/db/formulav2/formulaQueryBuilderv2.ts

2
packages/nocodb/src/db/formulav2/formulaQueryBuilderv2.ts

@ -888,7 +888,7 @@ async function _formulaQueryBuilder(
arguments: [operand === 'left' ? pt.right : pt.left],
callee: {
type: 'Identifier',
name: 'ISBLANK',
name: pt.operator === '==' ? 'ISBLANK' : 'NOTBLANK',
},
},
alias,

Loading…
Cancel
Save