Skip to content

Commit

Permalink
Version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Krutov committed Nov 1, 2018
1 parent 0a8f137 commit 5ea87e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions DataTables.Queryable/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
// Minor Version
// Build Number

[assembly: AssemblyVersion("1.7.1")]
[assembly: AssemblyFileVersion("1.7.1")]
[assembly: AssemblyInformationalVersion("1.7.1")]
[assembly: AssemblyVersion("1.7.2")]
[assembly: AssemblyFileVersion("1.7.2")]
[assembly: AssemblyInformationalVersion("1.7.2")]
6 changes: 1 addition & 5 deletions DataTables.Queryable/DataTablesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,15 +253,11 @@ private PropertyInfo GetPropertyByName(Type type, string propertyName)
if (parts.Length > 1)
{
var propertyInfo = type.GetProperty(parts[0]);

if(propertyInfo == null)
{
return null;
}

var propertyType = propertyInfo.PropertyType;

return GetPropertyByName(propertyType, parts.Skip(1).Aggregate((a, i) => $"{a}.{i}"));
return GetPropertyByName(propertyInfo.PropertyType, parts.Skip(1).Aggregate((a, i) => $"{a}.{i}"));
}
else
{
Expand Down

0 comments on commit 5ea87e9

Please sign in to comment.