Unable to cast object of type 'System.Linq.OrderedEnumerable`2[Umbraco.Web.Models.DynamicPublishedContent,System.Object]' to type 'Umbraco.Web.Models.DynamicPublishedContentList'.
Any other solution for a method that should return sorted DynamicPublishedContentList object ?
Umbraco 7 DynamicPublishedContentList OrderBy
Hi ,
I've created a method returning DynamicPublishedContentList object:
I would like to order the search results, I was trying to use the OrderBy method
but the types don't match
Any other solution for a method that should return sorted DynamicPublishedContentList object ?
Try:
is working on a reply...