UI updates
This commit is contained in:
@@ -82,6 +82,8 @@ namespace zero.Core.Extensions
|
||||
return source;
|
||||
}
|
||||
|
||||
searchTerms = searchTerms.Trim();
|
||||
|
||||
string[] searchParts = searchTerms.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries).Select(x =>
|
||||
{
|
||||
if (suffix != null)
|
||||
@@ -95,6 +97,11 @@ namespace zero.Core.Extensions
|
||||
return x;
|
||||
}).ToArray();
|
||||
|
||||
if (searchTerms.StartsWith('"') && searchTerms.EndsWith('"'))
|
||||
{
|
||||
searchParts = new[] { searchTerms };
|
||||
}
|
||||
|
||||
return source.Search(fieldSelector, searchParts, @operator: @operator);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user