@@ -1615,17 +1615,17 @@ define([
1615
1615
condValue = com_util . formatString ( "'{0}'" , cond ) ;
1616
1616
}
1617
1617
if ( oper == 'contains' ) {
1618
- rowSelection . appendFormat ( '{0}.str.contains({1})' , colValue , condValue ) ;
1618
+ rowSelection . appendFormat ( '` {0}` .str.contains({1})' , colValue , condValue ) ;
1619
1619
} else if ( oper == 'not contains' ) {
1620
- rowSelection . appendFormat ( '~{0}.str.contains({1})' , colValue , condValue ) ;
1620
+ rowSelection . appendFormat ( '~` {0}` .str.contains({1})' , colValue , condValue ) ;
1621
1621
} else if ( oper == 'starts with' ) {
1622
- rowSelection . appendFormat ( '{0}.str.startswith({1})' , colValue , condValue ) ;
1622
+ rowSelection . appendFormat ( '` {0}` .str.startswith({1})' , colValue , condValue ) ;
1623
1623
} else if ( oper == 'ends with' ) {
1624
- rowSelection . appendFormat ( '{0}.str.endswith({1})' , colValue , condValue ) ;
1624
+ rowSelection . appendFormat ( '` {0}` .str.endswith({1})' , colValue , condValue ) ;
1625
1625
} else if ( oper == 'isnull()' || oper == 'notnull()' ) {
1626
- rowSelection . appendFormat ( '{0}.{1}' , colValue , oper ) ;
1626
+ rowSelection . appendFormat ( '` {0}` .{1}' , colValue , oper ) ;
1627
1627
} else {
1628
- rowSelection . appendFormat ( '{0}{1}{2}' , colValue , oper != '' ?( ' ' + oper ) :'' , condValue != '' ?( ' ' + condValue ) :'' ) ;
1628
+ rowSelection . appendFormat ( '` {0}` {1}{2}' , colValue , oper != '' ?( ' ' + oper ) :'' , condValue != '' ?( ' ' + condValue ) :'' ) ;
1629
1629
}
1630
1630
if ( condList . length > 1 ) {
1631
1631
rowSelection . append ( ')' ) ;
0 commit comments