Get Umbraco Certified in October
5 courses in 4 different countries across 2 continents leaves no excuse.
Attend courses in the Netherlands, UK, USA and at Umbraco HQ in Denmark.
See the schedule and read more about our training here.
Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi. I've read already on these forums that there was a bug with OrderBy on the DynamicNodeList when trying to use concrete properties on the DynamicNode; eg:
Model.Descendants("alias").OrderBy("customProperty desc") // will work
Mode.Descendants("alias").OrderBy("CreateDate desc") // won't sort at al
I was pretty sure I was using the latest build of Umbraco but I downloaded the latest version of umbraco.MacroEngines.dll just in case. Unfortunately, this didn't change anything.
Used this one: SubnodeList.Items.OrderByDescending(x => x.Id).Take(SubnodeList.Items.Count())
Write your reply to:
Image will be uploaded when post is submitted