Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SieveModel Submodule Test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nguyenvu
SieveModel Submodule Test
Commits
ef5ff4f4
Commit
ef5ff4f4
authored
4 years ago
by
VTHIEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
609c844c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SieveProcessor.cs
Sieve/Services/SieveProcessor.cs
+2
-2
No files found.
Sieve/Services/SieveProcessor.cs
View file @
ef5ff4f4
...
@@ -427,7 +427,7 @@ namespace Sieve.Services
...
@@ -427,7 +427,7 @@ namespace Sieve.Services
Expression
filterValue
=
GetClosureOverConstant
(
constantVal
,
property
.
PropertyType
);
Expression
filterValue
=
GetClosureOverConstant
(
constantVal
,
property
.
PropertyType
);
/
/
if (filterTerm.OperatorIsCaseInsensitive)
/
*
if (filterTerm.OperatorIsCaseInsensitive)
{
{
propertyValue = Expression.Call(propertyValue,
propertyValue = Expression.Call(propertyValue,
typeof(string).GetMethods()
typeof(string).GetMethods()
...
@@ -436,7 +436,7 @@ namespace Sieve.Services
...
@@ -436,7 +436,7 @@ namespace Sieve.Services
filterValue = Expression.Call(filterValue,
filterValue = Expression.Call(filterValue,
typeof(string).GetMethods()
typeof(string).GetMethods()
.First(m => m.Name == "ToUpper" && m.GetParameters().Length == 0));
.First(m => m.Name == "ToUpper" && m.GetParameters().Length == 0));
}
}
*/
var
expression
=
GetExpression
(
filterTerm
,
filterValue
,
propertyValue
,
bCaseSensitive
);
var
expression
=
GetExpression
(
filterTerm
,
filterValue
,
propertyValue
,
bCaseSensitive
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment