Commit 9ccdeb2 1 parent eabaa3d commit 9ccdeb2 Copy full SHA for 9ccdeb2
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 336
336
case 'includes' :
337
337
if ( dataValue . includes ( queryValue ) )
338
338
queryStatus = true
339
- if ( queryValue === "" && logicalOperator === 'and' ) {
340
- if ( dataValue !== "" )
341
- queryStatus = false
342
- }
339
+ // if (queryValue === "" && logicalOperator === 'and') {
340
+ // if (dataValue !== "")
341
+ // queryStatus = false
342
+ // }
343
343
break ;
344
344
case '$eq' :
345
345
if ( dataValue == queryValue )
448
448
if ( value . indexOf ( searchString ) > - 1 )
449
449
status = true ;
450
450
451
- if ( search [ i ] . operator == 'or' && status )
451
+ if ( status )
452
452
return true ;
453
-
454
- if ( search [ i ] . operator == 'and' && ! status )
453
+ else if ( search [ i ] . operator == 'and' )
455
454
return false ;
455
+
456
456
457
457
}
458
458
}
You can’t perform that action at this time.
0 commit comments