MARX#35594 Bij LIKE-zoeken de '%' aan de voorkant ook automatisch toevoegen

svn path=/Website/trunk/; revision=28294
This commit is contained in:
Jos Groot Lipman
2016-02-25 09:55:57 +00:00
parent ab3099e794
commit c06b5a9a65

View File

@@ -130,7 +130,7 @@ function getKenmerkSql(pmodule, pkeyColumn, prequestForm)
if (ko == 'LIKE' || ko == 'NOT LIKE')
{
where1 = "UPPER(" + where1 + ")";
kv = safe.quoted_sql_wild(kv + "%");
kv = safe.quoted_sql_wild("%" + kv + "%");
}
else
{