Fixes to issues with query generation

Ensures its typed content and children is called as a method
This commit is contained in:
Per Ploug
2017-01-10 16:55:30 +01:00
parent d563eb07a2
commit 0b7f60c0f8

View File

@@ -103,7 +103,7 @@ namespace Umbraco.Web.Editors
{
// we did not find the path
sb.Clear();
sb.AppendFormat("Umbraco.Content({0})", model.Source.Id);
sb.AppendFormat("Umbraco.TypedContent({0})", model.Source.Id);
pointerNode = targetNode;
}
}
@@ -126,7 +126,7 @@ namespace Umbraco.Web.Editors
timer.Start();
contents = pointerNode.Children;
timer.Stop();
sb.Append(".Children");
sb.Append(".Children()");
}
//setup 2 clauses, 1 for returning, 1 for testing