Fixes: Razor example template not correct
Work Items: 30329
This commit is contained in:
@@ -15,7 +15,8 @@ NOTE: It is safe to remove this comment (anything between @ * * @), the code tha
|
||||
|
||||
@{ var numberOfItems = 10; }
|
||||
<ul>
|
||||
@foreach (var item in @Model.Children.Where("Visible").Take(numberOfItems).OrderBy("UpdateDate")) {
|
||||
@foreach (var item in @Model.Children.Where("Visible").OrderBy("UpdateDate").Take(numberOfItems))
|
||||
{
|
||||
<li><a href="@item.Url">@item.Name</a></li>
|
||||
}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user