Commit 830e1291 authored by VTHIEN's avatar VTHIEN

fixed

parent 38e6514e
...@@ -208,7 +208,8 @@ namespace Sieve.Services ...@@ -208,7 +208,8 @@ namespace Sieve.Services
if (!string.IsNullOrEmpty(searchProperty)) if (!string.IsNullOrEmpty(searchProperty))
{ {
dynamicQuery = GetDynamicQueryString(filterTerm, searchProperty.ToString(), filterValue.ToString()); var data = RemoveSignAndLowerCase4VietnameseString(filterValue.ToString());
dynamicQuery = GetDynamicQueryString(filterTerm, searchProperty.ToString(), data);
if (string.IsNullOrEmpty(fullQueryString)) if (string.IsNullOrEmpty(fullQueryString))
{ {
searchPart = "(" + dynamicQuery + ")"; searchPart = "(" + dynamicQuery + ")";
...@@ -501,9 +502,9 @@ namespace Sieve.Services ...@@ -501,9 +502,9 @@ namespace Sieve.Services
case FilterOperator.LessThanOrEqualTo: case FilterOperator.LessThanOrEqualTo:
return sResult + "<=" + value; return sResult + "<=" + value;
case FilterOperator.Contains: case FilterOperator.Contains:
return sResult + ".Contains(" + RemoveSignAndLowerCase4VietnameseString(value) + ")"; return sResult + ".Contains(" + value + ")";
case FilterOperator.StartsWith: case FilterOperator.StartsWith:
return sResult + ".Contains(" + RemoveSignAndLowerCase4VietnameseString(value) + ")"; return sResult + ".Contains(" + value + ")";
default: default:
return sResult + "=" + value; return sResult + "=" + value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment