Listing nodes of multiple doc types

Im trying to list sub nodes of specific doc types. I got this:

@{
  var homePage = CurrentPage.AncestorsOrSelf(2).First();
  var subItems = homePage.Children.Where("NodeTypeAlias == @0 || NodeTypeAlias == @1", "Personliste", "Tekstside").ToList();
}

<ul class=“under_menu”>
@foreach (var item in subItems) {
<li><a href=“@item.Url”>@item.Name</a></li>
}
</ul>

 

But his will only render the first declared doc type, here "Personliste". I dont really get why that is...


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/63939-listing-nodes-of-multiple-doc-types