Skip to content

Commit

Permalink
#6594 Trimming beggining and end white spaces from filter search quer…
Browse files Browse the repository at this point in the history
…ies.
  • Loading branch information
dragospodariu96 committed May 6, 2020
1 parent 95595a4 commit e783078
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -356,7 +356,7 @@ private static String buildSqlWhereClause_Like(final String sqlColumnExpr, final
return buildSqlWhereClause_IsNull(sqlColumnExpr, negate);
}

String sqlValueStr = sqlValue.toString();
String sqlValueStr = sqlValue.toString().trim();
if (sqlValueStr.isEmpty())
{
// NO value supplied, it's pointless to enforce a LIKE on that...
Expand Down

0 comments on commit e783078

Please sign in to comment.