Hi all, I have a list of child items that i want to iterate through and group by date. However I'm not sure how to compare the dates of the current and next item in the list to do so. Here's what I have so far:
@inherits Umbraco.Web.Macros.PartialViewMacroPage
@{
var pubsNode = Umbraco.TypedContentAtRoot().First().Children("publicationRecordListing").First();
}
Grouping by Date when iterating through a list
Hi all, I have a list of child items that i want to iterate through and group by date. However I'm not sure how to compare the dates of the current and next item in the list to do so. Here's what I have so far:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.