umbracoNaviHide not working in Where statement
问题 Trying to get children of a given document type, with umbracoNavihide not set to false: The following produces correct output. @foreach (var child in root.Children.Where("ContentTypeAlias == \"DocumentTypehere\"")) { if (child.umbracoNaviHide == "False") { continue; } <li>@child.Name</li> } This does not: @foreach (var child in root.Children.Where("umbracoNaviHide == @0 && ContentTypeAlias == \"DocumentTypehere\"","False")) { <li>@child.Name</li> } 回答1: umbracoNaviHide is not supported in