From 673b9850174b66c0e2a72738e76f0eb240d416a3 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Thu, 15 Feb 2024 04:42:23 +0000 Subject: [PATCH] fix: small changes --- packages/nocodb/src/db/conditionV2.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nocodb/src/db/conditionV2.ts b/packages/nocodb/src/db/conditionV2.ts index afa338e68e..532af44654 100644 --- a/packages/nocodb/src/db/conditionV2.ts +++ b/packages/nocodb/src/db/conditionV2.ts @@ -670,8 +670,7 @@ const parseConditionV2 = async ( if ( isNumericCol(column.uidt) && typeof genVal === 'string' && - !genVal.startsWith('%') && - !genVal.endsWith('%') + !isNaN(+genVal) ) { // convert to number genVal = +genVal;