Gets tree picker working better with searching and list views.

This commit is contained in:
Shannon
2014-10-13 17:27:22 +11:00
parent 12a23abbbf
commit 48d34af7bb
3 changed files with 153 additions and 42 deletions

View File

@@ -72,10 +72,10 @@ namespace Umbraco.Web.Models.Mapping
basic.Key = key;
}
}
if (result.Fields.ContainsKey("ParentID"))
if (result.Fields.ContainsKey("parentID"))
{
int parentId;
if (int.TryParse(result.Fields["ParentID"], out parentId))
if (int.TryParse(result.Fields["parentID"], out parentId))
{
basic.ParentId = parentId;
}