Browse Source

fix: small changes

pull/7628/head
Ramesh Mane 10 months ago
parent
commit
673b985017
  1. 3
      packages/nocodb/src/db/conditionV2.ts

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

@ -670,8 +670,7 @@ const parseConditionV2 = async (
if ( if (
isNumericCol(column.uidt) && isNumericCol(column.uidt) &&
typeof genVal === 'string' && typeof genVal === 'string' &&
!genVal.startsWith('%') && !isNaN(+genVal)
!genVal.endsWith('%')
) { ) {
// convert to number // convert to number
genVal = +genVal; genVal = +genVal;

Loading…
Cancel
Save