Browse Source

fix: typo correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
39a21f7bb8
  1. 4
      packages/nocodb/src/db/conditionV2.ts

4
packages/nocodb/src/db/conditionV2.ts

@ -453,7 +453,7 @@ const parseConditionV2 = async (
nestedQb.whereNot(field, val); nestedQb.whereNot(field, val);
if (column.uidt !== UITypes.Links) if (column.uidt !== UITypes.Links)
qb.orWhereNull(customWhereClause ? _val : _field); nestedQb.orWhereNull(customWhereClause ? _val : _field);
}); });
} else if (column.uidt === UITypes.Rating) { } else if (column.uidt === UITypes.Rating) {
// unset rating is considered as NULL // unset rating is considered as NULL
@ -476,7 +476,7 @@ const parseConditionV2 = async (
nestedQb.whereNot(field, val); nestedQb.whereNot(field, val);
if (column.uidt !== UITypes.Links) if (column.uidt !== UITypes.Links)
qb.orWhereNull(customWhereClause ? _val : _field); nestedQb.orWhereNull(customWhereClause ? _val : _field);
}); });
} }
break; break;

Loading…
Cancel
Save