Made OrderBy(Name) and OrderBy(name) work the same as OrderBy(nodeName)
This commit is contained in:
@@ -249,7 +249,7 @@ namespace System.Linq.Dynamic
|
||||
{
|
||||
value = (firstFuncResult as Func<DynamicNode, object>)(node);
|
||||
}
|
||||
if (firstFuncResult.GetType().IsValueType)
|
||||
if (firstFuncResult.GetType().IsValueType || firstFuncResult is string)
|
||||
{
|
||||
value = firstFuncResult;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user